POST api/Announcement/updateShowable

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Showable
NameDescriptionTypeAdditional information
id

integer

None.

title

string

None.

active

boolean

None.

default_shown_state

boolean

None.

is_chapter

boolean

None.

startDate

date

None.

endDate

date

None.

Announcement

Announcement

None.

DisplayFilters

Collection of DisplayFilter

None.

Link

Link

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 'Showable' with type 'STTI.WindowsService.Web.Models.Showable'. Path 'Announcement'.

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 'Showable' with type 'STTI.WindowsService.Web.Models.Showable'. Path 'Announcement'.

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[[STTI.WindowsService.Web.Models.Position, STTI.WindowsService.Web, 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[[STTI.WindowsService.Web.Models.Position, STTI.WindowsService.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.