GET api/Question/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
QuestionModelName | Description | Type | Additional information |
---|---|---|---|
questionId | integer |
Required |
|
questionDesc | string |
None. |
|
questionText | string |
None. |
|
toolTip | string |
None. |
|
answerType | string |
None. |
|
isActive | boolean |
None. |
|
questionCategory | string |
None. |
|
includeFreeText | boolean |
None. |
|
includePredefined | boolean |
None. |
|
removequestionId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "questionId": 1, "questionDesc": "sample string 2", "questionText": "sample string 3", "toolTip": "sample string 4", "answerType": "sample string 5", "isActive": true, "questionCategory": "sample string 6", "includeFreeText": true, "includePredefined": true, "removequestionId": 7 }
application/xml, text/xml
Sample:
<QuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD_SFCData"> <answerType>sample string 5</answerType> <includeFreeText>true</includeFreeText> <includePredefined>true</includePredefined> <isActive>true</isActive> <questionCategory>sample string 6</questionCategory> <questionDesc>sample string 2</questionDesc> <questionId>1</questionId> <questionText>sample string 3</questionText> <removequestionId>7</removequestionId> <toolTip>sample string 4</toolTip> </QuestionModel>