GET api/Questions
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "364e4ffa-9fa2-488d-8710-f7472eb8f25c",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "caf62d42-360d-454a-b77f-623601ada1be",
"ParentQuestionChoiceId": "356582f6-a0b5-4c34-bcc9-176d5b2847ef",
"QuestionTypeId": "82ae97dc-5ae5-49d8-baff-f5d99e1c7bc4",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "016d7459-f905-4da1-94c6-69a8ff5b5672",
"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"
},
{
"Id": "364e4ffa-9fa2-488d-8710-f7472eb8f25c",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "caf62d42-360d-454a-b77f-623601ada1be",
"ParentQuestionChoiceId": "356582f6-a0b5-4c34-bcc9-176d5b2847ef",
"QuestionTypeId": "82ae97dc-5ae5-49d8-baff-f5d99e1c7bc4",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "016d7459-f905-4da1-94c6-69a8ff5b5672",
"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.