GET api/SurveyQuestion/Find?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SurveyQuestionDtoName | Description | Type | Additional information |
---|---|---|---|
Text | string |
None. |
|
CenterTypeID | integer |
None. |
|
CenterTypeName | string |
None. |
|
IsActive | boolean |
None. |
|
SelectedOption | SurveyOptionDto |
None. |
|
Options | Collection of SurveyOptionDto |
None. |
|
ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "text": "sample string 1", "centerTypeID": 1, "centerTypeName": "sample string 2", "isActive": true, "selectedOption": { "text": "sample string 1", "surveyQuestionID": 2, "surveyQuestionName": "sample string 3", "order": 64, "id": 1 }, "options": [ { "text": "sample string 1", "surveyQuestionID": 2, "surveyQuestionName": "sample string 3", "order": 64, "id": 1 }, { "text": "sample string 1", "surveyQuestionID": 2, "surveyQuestionName": "sample string 3", "order": 64, "id": 1 } ], "id": 1 }
text/html
Sample:
{"text":"sample string 1","centerTypeID":1,"centerTypeName":"sample string 2","isActive":true,"selectedOption":{"text":"sample string 1","surveyQuestionID":2,"surveyQuestionName":"sample string 3","order":64,"id":1},"options":[{"text":"sample string 1","surveyQuestionID":2,"surveyQuestionName":"sample string 3","order":64,"id":1},{"text":"sample string 1","surveyQuestionID":2,"surveyQuestionName":"sample string 3","order":64,"id":1}],"id":1}
application/xml, text/xml
Sample:
<SurveyQuestionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Ef"> <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID> <CenterTypeID>1</CenterTypeID> <CenterTypeName>sample string 2</CenterTypeName> <IsActive>true</IsActive> <Options> <SurveyOptionDto> <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID> <Order>64</Order> <SurveyQuestionID>2</SurveyQuestionID> <SurveyQuestionName>sample string 3</SurveyQuestionName> <Text>sample string 1</Text> </SurveyOptionDto> <SurveyOptionDto> <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID> <Order>64</Order> <SurveyQuestionID>2</SurveyQuestionID> <SurveyQuestionName>sample string 3</SurveyQuestionName> <Text>sample string 1</Text> </SurveyOptionDto> </Options> <SelectedOption> <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID> <Order>64</Order> <SurveyQuestionID>2</SurveyQuestionID> <SurveyQuestionName>sample string 3</SurveyQuestionName> <Text>sample string 1</Text> </SelectedOption> <Text>sample string 1</Text> </SurveyQuestionDto>