PUT api/Questions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "57067d10-8fb4-4159-8f2e-b4e56520db65",
"Name": "sample string 2",
"Text": "sample string 3",
"Active": true,
"ParentQuestionId": "39847b17-0c3c-45b9-a028-380f92bae57f",
"ParentQuestionChoiceId": "de867d5a-58a2-426e-9065-71c7a08bdc79",
"QuestionTypeId": "9716e52c-5cd5-456d-93e7-26fa6fcfad6d",
"HelpText": "sample string 6",
"Required": true,
"Notes": "sample string 8",
"QuestionType": {
"Id": "5cb03b62-cd5a-4676-a463-1f4ddc4b64aa",
"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.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.