PUT v1/answerSelectSets/{id}

Creates a new AnswerSelectSet or updates an existing AnswerSelectSet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Unique Identifier of the AnswerSelectSet to update or create.

string

Required

Body Parameters

AnswerSelectSet
NameDescriptionTypeAdditional information
Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1"
}

text/html

Sample:
{"Id":"sample string 1"}

application/xml, text/xml

Sample:
<AnswerSelectSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Questionnaire.Api.Contracts.v1.Models">
  <Id>sample string 1</Id>
</AnswerSelectSet>

Response Information

Resource Description

A response containing the new AnswerSelectSet's unique id, or validation errors if the quiz group could not be created or updated.

AnswerSelectSetPostResponse
NameDescriptionTypeAdditional information
Id

string

None.

Response Codes

  • 200 OK: AnswerSelectSet successfully saved.
  • 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:
<AnswerSelectSetPostResponse 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>
</AnswerSelectSetPostResponse>