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": "517f0b2e-307e-4566-aba7-062b1d8b64d8",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "c7300cbf-2236-4667-b39b-6c4d62292dee",
"ParentQuestionChoiceId": "52bb2123-58a5-445e-8f75-58a9905f6413",
"QuestionTypeId": "286609f2-55d6-41fa-9dec-b7f14c9298ef",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "01269f4c-5d5a-4d3c-815b-e8438a716159",
"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.