PUT api/cases/{caseId}/questions/{questionId}/answers/replace

Replace any answers to this question with the answers provided Will update matching answers (by Id) Will add new answers Will delete answers currently saved for question but not in the provided answers list

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseId

The case to modify

globally unique identifier

Required

questionId

The question to modify

globally unique identifier

Required

Body Parameters

QuestionDetail
NameDescriptionTypeAdditional information
HelpText

string

None.

Type

string

None.

Choices

Collection of ChoiceSimple

None.

ParentQuestionId

globally unique identifier

None.

ParentChoiceId

globally unique identifier

None.

ParentAnswerId

globally unique identifier

None.

Answers

Collection of AnswerDetail

None.

SubQuestions

Collection of QuestionDetail

None.

Template

string

None.

UseUpdateTemplate

boolean

None.

Validation

string

None.

Formatting

string

None.

Required

boolean

None.

Id

globally unique identifier

None.

CaseSectionId

globally unique identifier

None.

Text

string

None.

OrderIndex

integer

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

Collection of 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.