POST api/cases/{caseId}/questions/{questionId}/answers

Add an answer to this Question. Method will fail if an answer already exists when multiple answers are not allowed

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseId

globally unique identifier

Required

questionId

globally unique identifier

Required

Body Parameters

AnswerDetail
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

QuestionId

globally unique identifier

None.

ChoiceId

globally unique identifier

None.

Text

string

None.

ContextualText

string

None.

OrderIndex

integer

None.

SubQuestions

Collection of QuestionDetail

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

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

AnswerWithEffects
NameDescriptionTypeAdditional information
Answer

AnswerDetail

None.

AddedSections

Collection of SectionSimple

None.

RemovedSections

Collection of SectionSimple

None.

AddedQuestions

Collection of QuestionSimple

None.

RemovedQuestions

Collection of QuestionSimple

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.