GET api/v3/sitenotice/admin/consenttool/{id}

Pulls the details for the specified consent tool theme.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The integer id value for the consent tool theme.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ConsentTool
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Desktop

ConsentToolSetting

None.

DesktopAssets

ConsentToolAsset

None.

Mobile

ConsentToolSetting

None.

MobileAssets

ConsentToolAsset

None.

Notices

Collection of SiteNotice3

None.

Styles

string

None.

BackgroundColor

string

None.

FontColor

string

None.

Logo

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.SiteNotice'. Path 'notices[0].templates[0].notices'.

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.SiteNotice'. Path 'notices[0].templates[0].notices'.