POST api/v3/sitenotice/admin/theme
Saves the site notice theme. This action behaves like an upsert. If the id value is missing or 0 the operation will create a new theme record. Otherwise this will try to modify the existing theme.
Request Information
URI Parameters
None.
Body Parameters
Ghostery.Privacy.Common.Objects.Site3.Theme| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Link | Ghostery.Privacy.Common.Objects.Site3.LinkTheme |
None. |
|
| Button | Ghostery.Privacy.Common.Objects.Site3.ButtonTheme |
None. |
|
| Banner | Ghostery.Privacy.Common.Objects.Site3.BannerTheme |
None. |
|
| Barrier | Ghostery.Privacy.Common.Objects.Site3.BarrierTheme |
None. |
|
| L2 | Ghostery.Privacy.Common.Objects.Site3.L2Theme |
None. |
|
| ModifiedDate | date |
None. |
|
| Styles | string |
None. |
|
| BackgroundColor | string |
None. |
|
| FontColor | string |
None. |
|
| Logo | string |
None. |
|
| NoticeCount | integer |
None. |
|
| Notices | Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Ghostery.Privacy.Common.Objects.Site3.Theme| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Link | Ghostery.Privacy.Common.Objects.Site3.LinkTheme |
None. |
|
| Button | Ghostery.Privacy.Common.Objects.Site3.ButtonTheme |
None. |
|
| Banner | Ghostery.Privacy.Common.Objects.Site3.BannerTheme |
None. |
|
| Barrier | Ghostery.Privacy.Common.Objects.Site3.BarrierTheme |
None. |
|
| L2 | Ghostery.Privacy.Common.Objects.Site3.L2Theme |
None. |
|
| ModifiedDate | date |
None. |
|
| Styles | string |
None. |
|
| BackgroundColor | string |
None. |
|
| FontColor | string |
None. |
|
| Logo | string |
None. |
|
| NoticeCount | integer |
None. |
|
| Notices | Collection of Ghostery.Privacy.Common.Objects.Site3.SiteNotice |
None. |
Response Formats
application/json
Sample:
text/json
Sample: