GET api/Quiz/GetOneQuiz/{LanguageId}/{QuizId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LanguageId

integer

Required

QuizId

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuizDto
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Description

string

None.

LanguageId

integer

None.

CreatedOn

date

None.

IsPublished

boolean

None.

QuizType

string

None.

Points

integer

None.

AssociatedExternalLinks

Collection of string

None.

AssociatedInternalLinks

Collection of ContentItemDto

None.

Questions

Collection of QuizQuestionDto

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 for property 'Quiz' with type 'WebApi.DTO.QuizDto'. Path 'AssociatedInternalLinks[0]'.

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 for property 'Quiz' with type 'WebApi.DTO.QuizDto'. Path 'AssociatedInternalLinks[0]'.

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.