PUT Brands/SiteSettings

Update a site setting.

Request Information

URI Parameters

None.

Body Parameters

UpdateSiteSettingModel
NameDescriptionTypeAdditional information
SiteSettingID

integer

Required

SiteName

string

None.

URL

string

None.

SiteType

SiteType

Required

IsColorSchemeFallbackEnabled

boolean

Required

IsThemeFallbackEnabled

boolean

Required

DefaultOverrideByTemplateValue

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "SiteSettingID": 1,
  "SiteName": "sample string 2",
  "URL": "sample string 3",
  "SiteType": 1,
  "IsColorSchemeFallbackEnabled": true,
  "IsThemeFallbackEnabled": true,
  "DefaultOverrideByTemplateValue": true
}

text/html

Sample:
{"SiteSettingID":1,"SiteName":"sample string 2","URL":"sample string 3","SiteType":1,"IsColorSchemeFallbackEnabled":true,"IsThemeFallbackEnabled":true,"DefaultOverrideByTemplateValue":true}

application/xml, text/xml

Sample:
<UpdateSiteSettingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.SiteSettings">
  <DefaultOverrideByTemplateValue>true</DefaultOverrideByTemplateValue>
  <IsColorSchemeFallbackEnabled>true</IsColorSchemeFallbackEnabled>
  <IsThemeFallbackEnabled>true</IsThemeFallbackEnabled>
  <SiteName>sample string 2</SiteName>
  <SiteType>NGChannel</SiteType>
  <URL>sample string 3</URL>
  <SiteSettingID>1</SiteSettingID>
</UpdateSiteSettingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateSiteSettingModel'.

application/bson

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

Response Information

Resource Description

OkResult
NameDescriptionTypeAdditional information
Request

HttpRequestMessage

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.

application/bson

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