POST api/Questions/PostQuestionType

Request Information

URI Parameters

None.

Body Parameters

utblMstQuestionType
NameDescriptionTypeAdditional information
QuestionTypeId

integer

None.

QuestionTypeName

string

None.

ParentQuestionTypeId

integer

None.

hasChild

boolean

None.

TransDate

date

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "QuestionTypeId": 1,
  "QuestionTypeName": "sample string 2",
  "ParentQuestionTypeId": 1,
  "hasChild": true,
  "TransDate": "2025-10-28T01:00:54.7219635+05:30",
  "UserId": "sample string 5"
}

application/xml, text/xml

Sample:
<utblMstQuestionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Master.Operation.Models">
  <ParentQuestionTypeId>1</ParentQuestionTypeId>
  <QuestionTypeId>1</QuestionTypeId>
  <QuestionTypeName>sample string 2</QuestionTypeName>
  <TransDate>2025-10-28T01:00:54.7219635+05:30</TransDate>
  <UserId>sample string 5</UserId>
  <hasChild>true</hasChild>
</utblMstQuestionType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>