POST api/v3/sitenotice/admin/consenttool
Saves the consent tool theme. This action behaves as an upsert action. If the id value is missing or 0 this will create a new consent tool theme. If the id value is present it will attempt to modify the existing theme.
Request Information
URI Parameters
None.
Body Parameters
Ghostery.Privacy.Common.Objects.Site3.ConsentTool| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desktop | Ghostery.Privacy.Common.Objects.Site3.ConsentToolSetting |
None. |
|
| DesktopAssets | Ghostery.Privacy.Common.Objects.Site3.ConsentToolAsset |
None. |
|
| Mobile | Ghostery.Privacy.Common.Objects.Site3.ConsentToolSetting |
None. |
|
| MobileAssets | Ghostery.Privacy.Common.Objects.Site3.ConsentToolAsset |
None. |
|
| Notices | Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice |
None. |
|
| Styles | string |
None. |
|
| BackgroundColor | string |
None. |
|
| FontColor | string |
None. |
|
| Logo | string |
None. |
|
| NoticeCount | integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Ghostery.Privacy.Common.Objects.Site3.ConsentTool| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desktop | Ghostery.Privacy.Common.Objects.Site3.ConsentToolSetting |
None. |
|
| DesktopAssets | Ghostery.Privacy.Common.Objects.Site3.ConsentToolAsset |
None. |
|
| Mobile | Ghostery.Privacy.Common.Objects.Site3.ConsentToolSetting |
None. |
|
| MobileAssets | Ghostery.Privacy.Common.Objects.Site3.ConsentToolAsset |
None. |
|
| Notices | Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice |
None. |
|
| Styles | string |
None. |
|
| BackgroundColor | string |
None. |
|
| FontColor | string |
None. |
|
| Logo | string |
None. |
|
| NoticeCount | integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample: