POST api/v3/sntemplate

Request Information

URI Parameters

None.

Body Parameters

SiteNoticeTemplate
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

CompanyId

integer

None.

DivisionId

integer

None.

CreatedBy

string

None.

Created

date

None.

UpdatedBy

string

None.

Updated

date

None.

Locked

boolean

None.

Countries

Collection of SiteNoticeTemplateCountry

None.

Notices

Collection of SiteNotice3

None.

DivisionName

string

None.

CountryNames

Collection of string

None.

NoticeCount

integer

None.

Request 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 'Ghostery.Privacy.Common.Objects.Site3.SiteNoticeTemplate'. Path 'notices[0].templates'.

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 'Ghostery.Privacy.Common.Objects.Site3.SiteNoticeTemplate'. Path 'notices[0].templates'.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SiteNoticeTemplate'.

Response Information

Resource Description

SiteNoticeTemplate
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

CompanyId

integer

None.

DivisionId

integer

None.

CreatedBy

string

None.

Created

date

None.

UpdatedBy

string

None.

Updated

date

None.

Locked

boolean

None.

Countries

Collection of SiteNoticeTemplateCountry

None.

Notices

Collection of SiteNotice3

None.

DivisionName

string

None.

CountryNames

Collection of string

None.

NoticeCount

integer

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 'Ghostery.Privacy.Common.Objects.Site3.SiteNoticeTemplate'. Path 'notices[0].templates'.

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 'Ghostery.Privacy.Common.Objects.Site3.SiteNoticeTemplate'. Path 'notices[0].templates'.