GET api/Questions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Question| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Text | string |
Required |
|
| Active | boolean |
None. |
|
| ParentQuestionId | globally unique identifier |
None. |
|
| ParentQuestionChoiceId | globally unique identifier |
None. |
|
| QuestionTypeId | globally unique identifier |
None. |
|
| HelpText | string |
None. |
|
| Required | boolean |
None. |
|
| Notes | string |
None. |
|
| QuestionType | QuestionType |
None. |
|
| Validation | string |
None. |
|
| Formatting | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "bb837eea-3ee8-4401-8a13-d7cbafe9e386",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "c7aa50de-faf4-4fa3-912d-d9f8aae8780f",
"ParentQuestionChoiceId": "2737f8cd-d68e-4c75-8563-3cba074982ca",
"QuestionTypeId": "cf5c1439-8849-4821-beba-38ef215b916f",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "d6d0c6c9-79f6-4106-b4c8-7eb2561145e1",
"Name": "sample string 2",
"UpdateTemplate": "sample string 3",
"ReadTemplate": "sample string 4",
"Validation": "sample string 5",
"Formatting": "sample string 6",
"AllowMultipleAnswers": true
},
"Validation": "sample string 9",
"Formatting": "sample string 10"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.