GET api/cases/{caseId}/sections/{sectionId}/questions

Get all the questions appropriate to this case within a particular section

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseId

The Id of the Case to return questions for

globally unique identifier

Required

sectionId

The Id of the Section to return questions for

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

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

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'XCapture.DTO.QuestionDetail'. Path '[0].Answers[0].SubQuestions'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'XCapture.DTO.QuestionDetail'. Path '[0].Answers[0].SubQuestions'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'XCapture.DTO.AnswerDetail' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'XCapture.DTO.AnswerDetail' contains cycles and cannot be serialized if reference tracking is disabled.