Request Information
URI Parameters
None.
Body Parameters
The question.
Pico.QuestionName | Description | Type | Additional information |
---|---|---|---|
code |
Gets or sets the code. |
string |
None. |
description |
Gets or sets the description. |
string |
None. |
explanation |
Gets or sets the explanation. |
string |
None. |
isActive |
Gets or sets a value indicating whether the question is active. |
boolean |
None. |
isExternal |
Gets or sets a value indicating whether the question is external. |
boolean |
None. |
optionsOnly |
Gets or sets a value indicating whether the question is options only. |
boolean |
None. |
order |
Gets or sets the order. |
integer |
None. |
personSpecific |
Gets or sets a value indicating whether the question is person specific. |
boolean |
None. |
id |
Gets or sets the question identifier. |
integer |
None. |
questionCategory |
Gets or sets the question category identifier. |
integer |
None. |
questionType |
Gets or sets the question type identifier. |
integer |
None. |
parentQuestionOptions |
Gets or sets the parent question option identifiers. |
Collection of integer |
None. |
questionOptions |
Gets or sets the question option identifiers. |
Collection of integer |
None. |
Request Formats
application/json, text/json
{ "code": "sample String 1", "description": "sample String 2", "explanation": "sample String 3", "isActive": true, "isExternal": true, "optionsOnly": true, "order": 1, "personSpecific": true, "id": "8", "questionCategory": "9", "questionType": "10", "parentQuestionOptions": [ "1", "2" ], "questionOptions": [ "1", "2" ] }
text/html
{"code":"sample String 1","description":"sample String 2","explanation":"sample String 3","isActive":true,"isExternal":true,"optionsOnly":true,"order":1,"personSpecific":true,"id":"8","questionCategory":"9","questionType":"10","parentQuestionOptions":["1","2"],"questionOptions":["1","2"]}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The created question.
Pico.QuestionName | Description | Type | Additional information |
---|---|---|---|
code |
Gets or sets the code. |
string |
None. |
description |
Gets or sets the description. |
string |
None. |
explanation |
Gets or sets the explanation. |
string |
None. |
isActive |
Gets or sets a value indicating whether the question is active. |
boolean |
None. |
isExternal |
Gets or sets a value indicating whether the question is external. |
boolean |
None. |
optionsOnly |
Gets or sets a value indicating whether the question is options only. |
boolean |
None. |
order |
Gets or sets the order. |
integer |
None. |
personSpecific |
Gets or sets a value indicating whether the question is person specific. |
boolean |
None. |
id |
Gets or sets the question identifier. |
integer |
None. |
questionCategory |
Gets or sets the question category identifier. |
integer |
None. |
questionType |
Gets or sets the question type identifier. |
integer |
None. |
parentQuestionOptions |
Gets or sets the parent question option identifiers. |
Collection of integer |
None. |
questionOptions |
Gets or sets the question option identifiers. |
Collection of integer |
None. |
Response Formats
application/json, text/json
{ "code": "sample String 1", "description": "sample String 2", "explanation": "sample String 3", "isActive": true, "isExternal": true, "optionsOnly": true, "order": 1, "personSpecific": true, "id": "8", "questionCategory": "9", "questionType": "10", "parentQuestionOptions": [ "1", "2" ], "questionOptions": [ "1", "2" ] }
text/html
{"code":"sample String 1","description":"sample String 2","explanation":"sample String 3","isActive":true,"isExternal":true,"optionsOnly":true,"order":1,"personSpecific":true,"id":"8","questionCategory":"9","questionType":"10","parentQuestionOptions":["1","2"],"questionOptions":["1","2"]}