GET api/Quiz/GetOneQuestion/{LanguageId}/{QuizId}/{QuestionId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LanguageId

integer

Required

QuizId

integer

Required

QuestionId

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuizQuestionDto
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

LanguageId

integer

None.

QuestionType

string

None.

Options

Collection of QuizQuestionOptionDto

None.

CorrectAnswers

Collection of QuizQuestionOptionDto

None.

AssociatedInternalArticles

Collection of ContentItemDto

None.

AssociatedExternalArticles

Collection of string

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 'WebApi.DTO.ContentItemDto'. Path 'AssociatedInternalArticles[0].Quiz.AssociatedInternalLinks'.

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 'WebApi.DTO.ContentItemDto'. Path 'AssociatedInternalArticles[0].Quiz.AssociatedInternalLinks'.

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 'WebApi.DTO.PregnancyWeekDto[]' 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 'WebApi.DTO.PregnancyWeekDto[]' contains cycles and cannot be serialized if reference tracking is disabled.