GET v1/answerselects/{id}
Retrieves a AnswerSelect by its id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique Identifier of the AnswerSelect requested. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The AnswerSelect, if it exists. Otherwise a 404 error.
AnswerSelect| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Html | string |
None. |
|
| AllowTextEntry | boolean |
None. |
Response Codes
- 200 OK: Requested AnswerSelect successfully returned.
- 401 Unauthorized:
- 404 NotFound: Requested AnswerSelect does not exist.
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Html": "sample string 2",
"AllowTextEntry": true
}
text/html
Sample:
{"Id":"sample string 1","Html":"sample string 2","AllowTextEntry":true}
application/xml, text/xml
Sample:
<AnswerSelect xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Models"> <AllowTextEntry>true</AllowTextEntry> <Html>sample string 2</Html> <Id>sample string 1</Id> </AnswerSelect>