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": "9838f1aa-e2ed-476c-a4a0-4d2d178f450a",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "6a330827-a927-49b1-bb43-4ac2f62d07ad",
"ParentQuestionChoiceId": "3bb95c49-ce5f-4e4f-85c4-e1d4b75c0d67",
"QuestionTypeId": "3e8de39f-793b-4361-b119-81e80498aa21",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "fee6c107-76f0-4a46-a0fe-979b7d976c06",
"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.