GET api/Content/GetPregnancyWeeks/{LanguageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LanguageId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PregnancyWeekDto
NameDescriptionTypeAdditional information
Id

integer

None.

WeekNumber

string

None.

BabyImg

string

None.

BabySizeImg

string

None.

BodyImg

string

None.

BabyText

string

None.

BodyText

string

None.

ContentItems

Collection of ContentItemDto

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 '[0].ContentItems[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 '[0].ContentItems[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.ContentItemDto' 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.ContentItemDto' contains cycles and cannot be serialized if reference tracking is disabled.