POST v1/answerSelectSets/{id}/AnswerSelectSetNodes
Creates a AnswerSelectSetNode in a AnswerSelectSet
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique Identifier of the Quiz Section to create new Quiz Section Node. |
string |
Required |
Body Parameters
An object representing the Quiz Section Node.
AnswerSelectSetNode| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| DisplayOrder | integer |
None. |
|
| AnswerSelectId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"DisplayOrder": 2,
"AnswerSelectId": "sample string 3"
}
text/html
Sample:
{"Id":"sample string 1","DisplayOrder":2,"AnswerSelectId":"sample string 3"}
application/xml, text/xml
Sample:
<AnswerSelectSetNode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Models"> <AnswerSelectId>sample string 3</AnswerSelectId> <DisplayOrder>2</DisplayOrder> <Id>sample string 1</Id> </AnswerSelectSetNode>
Response Information
Resource Description
A response containing the new AnswerSelectSet's unique id, or validation errors if the AnswerSelectSet could not be created.
AnswerSelectSetNodePostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
Response Codes
- 201 Created: Quiz Section successfully created.
- 400 BadRequest: Data validation failed, see the response body for more information.
- 401 Unauthorized:
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1"
}
text/html
Sample:
{"Id":"sample string 1"}
application/xml, text/xml
Sample:
<AnswerSelectSetNodePostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Responses"> <Id>sample string 1</Id> </AnswerSelectSetNodePostResponse>