GET api/Content/GetContent/{Id}/{StageId}?ContentId={ContentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

StageId

integer

Required

ContentId

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

Collection of ContentItemLiteDto
NameDescriptionTypeAdditional information
Id

integer

None.

ContentItemStageWeightId

integer

None.

Title

string

None.

Subtitle

string

None.

Summary

string

None.

Body

string

None.

HeaderImageUrl

string

None.

LanguageId

integer

None.

Weight

integer

None.

Source

string

None.

Author

string

None.

CreatedOn

date

None.

UpdatedOn

date

None.

Active

boolean

None.

Approved

boolean

None.

ContentTypeIconClass

string

None.

Category

ContentItemCategoryDto

None.

ContentItemType

ContentItemTypeDto

None.

Quiz

QuizDto

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