GET api/cases/{caseId}/questions/{questionId}

Get a particular question for the Case in Detail

Request Information

URI Parameters

NameDescriptionTypeAdditional information
caseId

The Id of the Case to return the Question for

globally unique identifier

Required

questionId

The Id of the question to fetch

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

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 '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 '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 'System.Collections.Generic.List`1[[XCapture.DTO.QuestionDetail, XCapture.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[XCapture.DTO.QuestionDetail, XCapture.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.