GET Brands/{brandID}/BrandSiteSettings

Get all brand SiteSetting by Brand ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
brandID

The id of the Brand to get SiteSettings for

integer

Required

Body Parameters

None.

Response Information

Resource Description

OutputBrandSiteSettingModel
NameDescriptionTypeAdditional information
BrandID

integer

None.

SiteSettings

Collection of OutputSiteSettingModel

None.

Response Formats

application/json, text/json

Sample:
{
  "BrandID": 1,
  "SiteSettings": [
    {
      "SiteSettingID": 1,
      "SitePages": [
        {
          "SitePageID": 1,
          "SiteSettingID": 2,
          "Identifier": "sample string 3",
          "PageName": "sample string 4",
          "PageTypeID": 64,
          "PageTemplate": "sample string 6",
          "TemplateCanBeChanged": true,
          "IsPreviewable": true,
          "IsSupportCustomizingFallbackToDefault": true,
          "IsFallbackToDefaultInCaseUndefined": true
        },
        {
          "SitePageID": 1,
          "SiteSettingID": 2,
          "Identifier": "sample string 3",
          "PageName": "sample string 4",
          "PageTypeID": 64,
          "PageTemplate": "sample string 6",
          "TemplateCanBeChanged": true,
          "IsPreviewable": true,
          "IsSupportCustomizingFallbackToDefault": true,
          "IsFallbackToDefaultInCaseUndefined": true
        }
      ],
      "Identifier": "sample string 2",
      "SiteName": "sample string 3",
      "URL": "sample string 4",
      "SiteType": 1,
      "IsColorSchemeFallbackEnabled": true,
      "IsThemeFallbackEnabled": true,
      "DefaultOverrideByTemplateValue": true
    },
    {
      "SiteSettingID": 1,
      "SitePages": [
        {
          "SitePageID": 1,
          "SiteSettingID": 2,
          "Identifier": "sample string 3",
          "PageName": "sample string 4",
          "PageTypeID": 64,
          "PageTemplate": "sample string 6",
          "TemplateCanBeChanged": true,
          "IsPreviewable": true,
          "IsSupportCustomizingFallbackToDefault": true,
          "IsFallbackToDefaultInCaseUndefined": true
        },
        {
          "SitePageID": 1,
          "SiteSettingID": 2,
          "Identifier": "sample string 3",
          "PageName": "sample string 4",
          "PageTypeID": 64,
          "PageTemplate": "sample string 6",
          "TemplateCanBeChanged": true,
          "IsPreviewable": true,
          "IsSupportCustomizingFallbackToDefault": true,
          "IsFallbackToDefaultInCaseUndefined": true
        }
      ],
      "Identifier": "sample string 2",
      "SiteName": "sample string 3",
      "URL": "sample string 4",
      "SiteType": 1,
      "IsColorSchemeFallbackEnabled": true,
      "IsThemeFallbackEnabled": true,
      "DefaultOverrideByTemplateValue": true
    }
  ]
}

text/html

Sample:
{"BrandID":1,"SiteSettings":[{"SiteSettingID":1,"SitePages":[{"SitePageID":1,"SiteSettingID":2,"Identifier":"sample string 3","PageName":"sample string 4","PageTypeID":64,"PageTemplate":"sample string 6","TemplateCanBeChanged":true,"IsPreviewable":true,"IsSupportCustomizingFallbackToDefault":true,"IsFallbackToDefaultInCaseUndefined":true},{"SitePageID":1,"SiteSettingID":2,"Identifier":"sample string 3","PageName":"sample string 4","PageTypeID":64,"PageTemplate":"sample string 6","TemplateCanBeChanged":true,"IsPreviewable":true,"IsSupportCustomizingFallbackToDefault":true,"IsFallbackToDefaultInCaseUndefined":true}],"Identifier":"sample string 2","SiteName":"sample string 3","URL":"sample string 4","SiteType":1,"IsColorSchemeFallbackEnabled":true,"IsThemeFallbackEnabled":true,"DefaultOverrideByTemplateValue":true},{"SiteSettingID":1,"SitePages":[{"SitePageID":1,"SiteSettingID":2,"Identifier":"sample string 3","PageName":"sample string 4","PageTypeID":64,"PageTemplate":"sample string 6","TemplateCanBeChanged":true,"IsPreviewable":true,"IsSupportCustomizingFallbackToDefault":true,"IsFallbackToDefaultInCaseUndefined":true},{"SitePageID":1,"SiteSettingID":2,"Identifier":"sample string 3","PageName":"sample string 4","PageTypeID":64,"PageTemplate":"sample string 6","TemplateCanBeChanged":true,"IsPreviewable":true,"IsSupportCustomizingFallbackToDefault":true,"IsFallbackToDefaultInCaseUndefined":true}],"Identifier":"sample string 2","SiteName":"sample string 3","URL":"sample string 4","SiteType":1,"IsColorSchemeFallbackEnabled":true,"IsThemeFallbackEnabled":true,"DefaultOverrideByTemplateValue":true}]}

application/xml, text/xml

Sample:
<OutputBrandSiteSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.SiteSettings">
  <BrandID>1</BrandID>
  <SiteSettings>
    <OutputSiteSettingModel>
      <DefaultOverrideByTemplateValue>true</DefaultOverrideByTemplateValue>
      <IsColorSchemeFallbackEnabled>true</IsColorSchemeFallbackEnabled>
      <IsThemeFallbackEnabled>true</IsThemeFallbackEnabled>
      <SiteName>sample string 3</SiteName>
      <SiteType>NGChannel</SiteType>
      <URL>sample string 4</URL>
      <Identifier>sample string 2</Identifier>
      <SitePages>
        <OutputSitePageModel>
          <IsFallbackToDefaultInCaseUndefined>true</IsFallbackToDefaultInCaseUndefined>
          <IsPreviewable>true</IsPreviewable>
          <IsSupportCustomizingFallbackToDefault>true</IsSupportCustomizingFallbackToDefault>
          <PageName>sample string 4</PageName>
          <PageTemplate>sample string 6</PageTemplate>
          <PageTypeID>64</PageTypeID>
          <TemplateCanBeChanged>true</TemplateCanBeChanged>
          <Identifier>sample string 3</Identifier>
          <SiteSettingID>2</SiteSettingID>
          <SitePageID>1</SitePageID>
        </OutputSitePageModel>
        <OutputSitePageModel>
          <IsFallbackToDefaultInCaseUndefined>true</IsFallbackToDefaultInCaseUndefined>
          <IsPreviewable>true</IsPreviewable>
          <IsSupportCustomizingFallbackToDefault>true</IsSupportCustomizingFallbackToDefault>
          <PageName>sample string 4</PageName>
          <PageTemplate>sample string 6</PageTemplate>
          <PageTypeID>64</PageTypeID>
          <TemplateCanBeChanged>true</TemplateCanBeChanged>
          <Identifier>sample string 3</Identifier>
          <SiteSettingID>2</SiteSettingID>
          <SitePageID>1</SitePageID>
        </OutputSitePageModel>
      </SitePages>
      <SiteSettingID>1</SiteSettingID>
    </OutputSiteSettingModel>
    <OutputSiteSettingModel>
      <DefaultOverrideByTemplateValue>true</DefaultOverrideByTemplateValue>
      <IsColorSchemeFallbackEnabled>true</IsColorSchemeFallbackEnabled>
      <IsThemeFallbackEnabled>true</IsThemeFallbackEnabled>
      <SiteName>sample string 3</SiteName>
      <SiteType>NGChannel</SiteType>
      <URL>sample string 4</URL>
      <Identifier>sample string 2</Identifier>
      <SitePages>
        <OutputSitePageModel>
          <IsFallbackToDefaultInCaseUndefined>true</IsFallbackToDefaultInCaseUndefined>
          <IsPreviewable>true</IsPreviewable>
          <IsSupportCustomizingFallbackToDefault>true</IsSupportCustomizingFallbackToDefault>
          <PageName>sample string 4</PageName>
          <PageTemplate>sample string 6</PageTemplate>
          <PageTypeID>64</PageTypeID>
          <TemplateCanBeChanged>true</TemplateCanBeChanged>
          <Identifier>sample string 3</Identifier>
          <SiteSettingID>2</SiteSettingID>
          <SitePageID>1</SitePageID>
        </OutputSitePageModel>
        <OutputSitePageModel>
          <IsFallbackToDefaultInCaseUndefined>true</IsFallbackToDefaultInCaseUndefined>
          <IsPreviewable>true</IsPreviewable>
          <IsSupportCustomizingFallbackToDefault>true</IsSupportCustomizingFallbackToDefault>
          <PageName>sample string 4</PageName>
          <PageTemplate>sample string 6</PageTemplate>
          <PageTypeID>64</PageTypeID>
          <TemplateCanBeChanged>true</TemplateCanBeChanged>
          <Identifier>sample string 3</Identifier>
          <SiteSettingID>2</SiteSettingID>
          <SitePageID>1</SitePageID>
        </OutputSitePageModel>
      </SitePages>
      <SiteSettingID>1</SiteSettingID>
    </OutputSiteSettingModel>
  </SiteSettings>
</OutputBrandSiteSettingModel>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.