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

Pulls the details for a site notice theme.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The integer id value for the site notice theme.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Theme
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Link

LinkTheme

None.

Button

ButtonTheme

None.

Banner

BannerTheme

None.

Barrier

BarrierTheme

None.

L2

L2Theme

None.

Styles

string

None.

BackgroundColor

string

None.

FontColor

string

None.

Logo

string

None.

NoticeCount

integer

None.

Notices

Collection of SiteNotice3

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "link": {
    "desktop": {
      "linkStyle": "sample string 1",
      "showIcon": true,
      "linkIcon": "sample string 3"
    },
    "mobile": {
      "linkStyle": "sample string 1",
      "showIcon": true,
      "linkIcon": "sample string 3"
    },
    "displayStyles": "sample string 1"
  },
  "button": {
    "desktop": {
      "buttonStyle": "sample string 1",
      "showText": true,
      "showIcon": true,
      "buttonIcon": "sample string 4"
    },
    "mobile": {
      "buttonStyle": "sample string 1",
      "showText": true,
      "showIcon": true,
      "buttonIcon": "sample string 4"
    },
    "displayStyles": "sample string 1"
  },
  "banner": {
    "desktop": {
      "bannerStyle": "sample string 1",
      "showTitle": true,
      "titleStyle": "sample string 3",
      "messageStyle": "sample string 4",
      "showCloseIcon": true,
      "closeIconColor": "sample string 6",
      "closeIconThickness": 7,
      "closeIconStyle": "sample string 8",
      "showAcceptButton": true,
      "acceptButtonStyle": "sample string 10",
      "showIcon": true,
      "iconStyle": "sample string 12",
      "showOptionButton": true,
      "optionButtonStyle": "sample string 14",
      "showCollapseMessage": true,
      "collapseMessageStyle": "sample string 16",
      "showDeclineButton": true,
      "declineButtonStyle": "sample string 18",
      "backgroundStyle": "sample string 19",
      "showBackground": true
    },
    "mobile": {
      "bannerStyle": "sample string 1",
      "showTitle": true,
      "titleStyle": "sample string 3",
      "messageStyle": "sample string 4",
      "showCloseIcon": true,
      "closeIconColor": "sample string 6",
      "closeIconThickness": 7,
      "closeIconStyle": "sample string 8",
      "showAcceptButton": true,
      "acceptButtonStyle": "sample string 10",
      "showIcon": true,
      "iconStyle": "sample string 12",
      "showOptionButton": true,
      "optionButtonStyle": "sample string 14",
      "showCollapseMessage": true,
      "collapseMessageStyle": "sample string 16",
      "showDeclineButton": true,
      "declineButtonStyle": "sample string 18",
      "backgroundStyle": "sample string 19",
      "showBackground": true
    },
    "desktopAssets": {
      "bannerIconId": 1,
      "bannerIconUrl": "sample string 2"
    },
    "mobileAssets": {
      "bannerIconId": 1,
      "bannerIconUrl": "sample string 2"
    },
    "displayStyles": "sample string 1"
  },
  "barrier": {
    "desktop": {
      "bannerStyle": "sample string 1",
      "logoStyle": "sample string 2",
      "titleStyle": "sample string 3",
      "messageStyle": "sample string 4",
      "showCloseIcon": true,
      "closeIconColor": "sample string 6",
      "closeIconThickness": 7,
      "closeIconStyle": "sample string 8",
      "cookieMessageStyle": "sample string 9",
      "showCookieButtonIcon": true,
      "cookieButtonStyle": "sample string 11",
      "cookieButtonIcon": "sample string 12",
      "acceptMessageStyle": "sample string 13",
      "acceptButtonStyle": "sample string 14",
      "showDeclineButton": true,
      "declineButtonStyle": "sample string 16"
    },
    "desktopAssets": {
      "logoId": 1,
      "logoUrl": "sample string 2",
      "cookieButtonIconId": 3,
      "cookieButtonIconUrl": "sample string 4"
    },
    "mobile": {
      "bannerStyle": "sample string 1",
      "logoStyle": "sample string 2",
      "titleStyle": "sample string 3",
      "messageStyle": "sample string 4",
      "showCloseIcon": true,
      "closeIconColor": "sample string 6",
      "closeIconThickness": 7,
      "closeIconStyle": "sample string 8",
      "cookieMessageStyle": "sample string 9",
      "showCookieButtonIcon": true,
      "cookieButtonStyle": "sample string 11",
      "cookieButtonIcon": "sample string 12",
      "acceptMessageStyle": "sample string 13",
      "acceptButtonStyle": "sample string 14",
      "showDeclineButton": true,
      "declineButtonStyle": "sample string 16"
    },
    "mobileAssets": {
      "logoId": 1,
      "logoUrl": "sample string 2",
      "cookieButtonIconId": 3,
      "cookieButtonIconUrl": "sample string 4"
    },
    "backgroundStyle": "sample string 1",
    "displayStyles": "sample string 2"
  },
  "l2": {
    "desktop": {
      "enablePreferencesDialogV2": true,
      "overlayStyle": "sample string 1",
      "titleStyle": "sample string 2",
      "showTitle": true,
      "messageStyle": "sample string 4",
      "subtitleStyle": "sample string 5",
      "closeIconStyle": "sample string 6",
      "logoStyle": "sample string 7",
      "navigationLinkStyle": "sample string 8",
      "linkStyle": "sample string 9",
      "backgroundStyle": "sample string 10",
      "showBackground": true,
      "sidebarStyle": "sample string 12",
      "categoryHeaderStyle": "sample string 13",
      "categoryDescriptionStyle": "sample string 14",
      "showDeclineButton": true,
      "showGlobalPrefButton": true,
      "primaryButtonStyle": "sample string 15",
      "secondaryButtonStyle": "sample string 16",
      "tertiaryButtonStyle": "sample string 17",
      "backButtonStyle": "sample string 18"
    },
    "desktopAssets": {
      "logoId": 1,
      "logoUrl": "sample string 2"
    },
    "mobile": {
      "enablePreferencesDialogV2": true,
      "overlayStyle": "sample string 1",
      "titleStyle": "sample string 2",
      "showTitle": true,
      "messageStyle": "sample string 4",
      "subtitleStyle": "sample string 5",
      "closeIconStyle": "sample string 6",
      "logoStyle": "sample string 7",
      "navigationLinkStyle": "sample string 8",
      "linkStyle": "sample string 9",
      "backgroundStyle": "sample string 10",
      "showBackground": true,
      "sidebarStyle": "sample string 12",
      "categoryHeaderStyle": "sample string 13",
      "categoryDescriptionStyle": "sample string 14",
      "showDeclineButton": true,
      "showGlobalPrefButton": true,
      "primaryButtonStyle": "sample string 15",
      "secondaryButtonStyle": "sample string 16",
      "tertiaryButtonStyle": "sample string 17",
      "backButtonStyle": "sample string 18"
    },
    "mobileAssets": {
      "logoId": 1,
      "logoUrl": "sample string 2"
    },
    "displayStyles": "sample string 1"
  },
  "styles": "",
  "backgroundColor": "sample string 4",
  "fontColor": "sample string 5",
  "logo": "sample string 6",
  "noticeCount": 7,
  "notices": [
    {
      "id": 1,
      "domain": "sample string 2",
      "includeSubdomains": 0,
      "divisionId": 3,
      "siteNoticeThemeId": 4,
      "consentToolThemeId": 5,
      "consentDisplayTypeId": 6,
      "countries": [
        {
          "id": 1,
          "countryId": 2,
          "consentTypeId": 3,
          "privacyAccessTypeId": 4,
          "default": true,
          "defaultTranslationId": 6,
          "consentRequired": true,
          "consentDurationMonths": 1,
          "closeConsentEnabled": true,
          "scrollConsentEnabled": true,
          "pageclickConsentEnabled": true,
          "navigateConsentEnabled": true,
          "l2Enabled": true,
          "iabEnabled": true,
          "pubvendorsLink": "sample string 14",
          "gdprEnabled": true,
          "dataRightsType": 0,
          "dataRightsLink": "sample string 16",
          "dataRightsFormEmail": "sample string 17",
          "autoPopEnabled": true,
          "autoPopThreshold": 19,
          "scanGroupId": 20,
          "privacyPolicyLink": "sample string 21",
          "consentDetailCategories": true,
          "consentDetailVendors": true,
          "adChoicesEnabled": true,
          "countryVendorIds": [
            1,
            2
          ],
          "vendors": [
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            },
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            }
          ],
          "cookies": [
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            },
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            }
          ],
          "scanCountryId": 1,
          "name": "sample string 25",
          "geonameId": "sample string 26",
          "vendorLinks": {
            "1": "sample string 2",
            "3": "sample string 4"
          }
        },
        {
          "id": 1,
          "countryId": 2,
          "consentTypeId": 3,
          "privacyAccessTypeId": 4,
          "default": true,
          "defaultTranslationId": 6,
          "consentRequired": true,
          "consentDurationMonths": 1,
          "closeConsentEnabled": true,
          "scrollConsentEnabled": true,
          "pageclickConsentEnabled": true,
          "navigateConsentEnabled": true,
          "l2Enabled": true,
          "iabEnabled": true,
          "pubvendorsLink": "sample string 14",
          "gdprEnabled": true,
          "dataRightsType": 0,
          "dataRightsLink": "sample string 16",
          "dataRightsFormEmail": "sample string 17",
          "autoPopEnabled": true,
          "autoPopThreshold": 19,
          "scanGroupId": 20,
          "privacyPolicyLink": "sample string 21",
          "consentDetailCategories": true,
          "consentDetailVendors": true,
          "adChoicesEnabled": true,
          "countryVendorIds": [
            1,
            2
          ],
          "vendors": [
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            },
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            }
          ],
          "cookies": [
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            },
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            }
          ],
          "scanCountryId": 1,
          "name": "sample string 25",
          "geonameId": "sample string 26",
          "vendorLinks": {
            "1": "sample string 2",
            "3": "sample string 4"
          }
        }
      ],
      "translations": [
        {
          "id": 1,
          "companyTranslationId": 2,
          "siteNoticeId": 3,
          "languageCode": "sample string 4",
          "default": true,
          "name": "sample string 6",
          "languageId": 7
        },
        {
          "id": 1,
          "companyTranslationId": 2,
          "siteNoticeId": 3,
          "languageCode": "sample string 4",
          "default": true,
          "name": "sample string 6",
          "languageId": 7
        }
      ],
      "stagingNotice": true,
      "divisionName": "sample string 8",
      "themeName": "sample string 9",
      "consentToolName": "sample string 10",
      "countryCount": 11,
      "translationCount": 12,
      "countryNames": "sample string 13",
      "translationNames": "sample string 14",
      "createdBy": "sample string 15",
      "created": "2019-08-21T04:46:44.5049098+00:00",
      "updatedBy": "sample string 17",
      "updated": "2019-08-21T04:46:44.5049098+00:00"
    },
    {
      "id": 1,
      "domain": "sample string 2",
      "includeSubdomains": 0,
      "divisionId": 3,
      "siteNoticeThemeId": 4,
      "consentToolThemeId": 5,
      "consentDisplayTypeId": 6,
      "countries": [
        {
          "id": 1,
          "countryId": 2,
          "consentTypeId": 3,
          "privacyAccessTypeId": 4,
          "default": true,
          "defaultTranslationId": 6,
          "consentRequired": true,
          "consentDurationMonths": 1,
          "closeConsentEnabled": true,
          "scrollConsentEnabled": true,
          "pageclickConsentEnabled": true,
          "navigateConsentEnabled": true,
          "l2Enabled": true,
          "iabEnabled": true,
          "pubvendorsLink": "sample string 14",
          "gdprEnabled": true,
          "dataRightsType": 0,
          "dataRightsLink": "sample string 16",
          "dataRightsFormEmail": "sample string 17",
          "autoPopEnabled": true,
          "autoPopThreshold": 19,
          "scanGroupId": 20,
          "privacyPolicyLink": "sample string 21",
          "consentDetailCategories": true,
          "consentDetailVendors": true,
          "adChoicesEnabled": true,
          "countryVendorIds": [
            1,
            2
          ],
          "vendors": [
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            },
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            }
          ],
          "cookies": [
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            },
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            }
          ],
          "scanCountryId": 1,
          "name": "sample string 25",
          "geonameId": "sample string 26",
          "vendorLinks": {
            "1": "sample string 2",
            "3": "sample string 4"
          }
        },
        {
          "id": 1,
          "countryId": 2,
          "consentTypeId": 3,
          "privacyAccessTypeId": 4,
          "default": true,
          "defaultTranslationId": 6,
          "consentRequired": true,
          "consentDurationMonths": 1,
          "closeConsentEnabled": true,
          "scrollConsentEnabled": true,
          "pageclickConsentEnabled": true,
          "navigateConsentEnabled": true,
          "l2Enabled": true,
          "iabEnabled": true,
          "pubvendorsLink": "sample string 14",
          "gdprEnabled": true,
          "dataRightsType": 0,
          "dataRightsLink": "sample string 16",
          "dataRightsFormEmail": "sample string 17",
          "autoPopEnabled": true,
          "autoPopThreshold": 19,
          "scanGroupId": 20,
          "privacyPolicyLink": "sample string 21",
          "consentDetailCategories": true,
          "consentDetailVendors": true,
          "adChoicesEnabled": true,
          "countryVendorIds": [
            1,
            2
          ],
          "vendors": [
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            },
            {
              "id": 1,
              "vendorId": 2,
              "category": "sample string 3",
              "required": true,
              "name": "sample string 5",
              "permalink": "sample string 6"
            }
          ],
          "cookies": [
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            },
            {
              "id": 1,
              "siteNoticeCountryId": 2,
              "name": "sample string 3",
              "description": "sample string 4",
              "required": true,
              "optOut": "sample string 6"
            }
          ],
          "scanCountryId": 1,
          "name": "sample string 25",
          "geonameId": "sample string 26",
          "vendorLinks": {
            "1": "sample string 2",
            "3": "sample string 4"
          }
        }
      ],
      "translations": [
        {
          "id": 1,
          "companyTranslationId": 2,
          "siteNoticeId": 3,
          "languageCode": "sample string 4",
          "default": true,
          "name": "sample string 6",
          "languageId": 7
        },
        {
          "id": 1,
          "companyTranslationId": 2,
          "siteNoticeId": 3,
          "languageCode": "sample string 4",
          "default": true,
          "name": "sample string 6",
          "languageId": 7
        }
      ],
      "stagingNotice": true,
      "divisionName": "sample string 8",
      "themeName": "sample string 9",
      "consentToolName": "sample string 10",
      "countryCount": 11,
      "translationCount": 12,
      "countryNames": "sample string 13",
      "translationNames": "sample string 14",
      "createdBy": "sample string 15",
      "created": "2019-08-21T04:46:44.5049098+00:00",
      "updatedBy": "sample string 17",
      "updated": "2019-08-21T04:46:44.5049098+00:00"
    }
  ]
}