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": "0011d178-05ba-4367-b1a1-f71080559fc0",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "c7f555a8-215e-4a13-8749-2086648ba27f",
"ParentQuestionChoiceId": "ba6e8c44-8e30-44f9-899c-f5007858a538",
"QuestionTypeId": "fa6c3dcd-40b4-45af-83e1-4422acd402d4",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "af5bccb8-aed5-4c1d-92c7-490c2d031d40",
"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.