POST Brands/SiteSettings/SitePages

Request Information

URI Parameters

None.

Body Parameters

InputSitePageModel
NameDescriptionTypeAdditional information
SiteSettingID

integer

Required

Identifier

string

Required

Max length: 56

Min length: 1

String length: inclusive between 0 and 56

PageName

string

None.

PageTypeID

byte

Required

PageTemplate

string

Required

Max length: 56

Min length: 1

String length: inclusive between 0 and 56

TemplateCanBeChanged

boolean

Required

IsPreviewable

boolean

Required

IsSupportCustomizingFallbackToDefault

boolean

Required

IsFallbackToDefaultInCaseUndefined

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "SiteSettingID": 1,
  "Identifier": "sample string 2",
  "PageName": "sample string 3",
  "PageTypeID": 64,
  "PageTemplate": "sample string 5",
  "TemplateCanBeChanged": true,
  "IsPreviewable": true,
  "IsSupportCustomizingFallbackToDefault": true,
  "IsFallbackToDefaultInCaseUndefined": true
}

text/html

Sample:
{"SiteSettingID":1,"Identifier":"sample string 2","PageName":"sample string 3","PageTypeID":64,"PageTemplate":"sample string 5","TemplateCanBeChanged":true,"IsPreviewable":true,"IsSupportCustomizingFallbackToDefault":true,"IsFallbackToDefaultInCaseUndefined":true}

application/xml, text/xml

Sample:
<InputSitePageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.SiteSettings">
  <IsFallbackToDefaultInCaseUndefined>true</IsFallbackToDefaultInCaseUndefined>
  <IsPreviewable>true</IsPreviewable>
  <IsSupportCustomizingFallbackToDefault>true</IsSupportCustomizingFallbackToDefault>
  <PageName>sample string 3</PageName>
  <PageTemplate>sample string 5</PageTemplate>
  <PageTypeID>64</PageTypeID>
  <TemplateCanBeChanged>true</TemplateCanBeChanged>
  <Identifier>sample string 2</Identifier>
  <SiteSettingID>1</SiteSettingID>
</InputSitePageModel>

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 'InputSitePageModel'.

application/bson

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

Response Information

Resource Description

OutputSitePageModel
NameDescriptionTypeAdditional information
SitePageID

integer

None.

SiteSettingID

integer

Required

Identifier

string

Required

Max length: 56

Min length: 1

String length: inclusive between 0 and 56

PageName

string

None.

PageTypeID

byte

Required

PageTemplate

string

Required

Max length: 56

Min length: 1

String length: inclusive between 0 and 56

TemplateCanBeChanged

boolean

Required

IsPreviewable

boolean

Required

IsSupportCustomizingFallbackToDefault

boolean

Required

IsFallbackToDefaultInCaseUndefined

boolean

Required

Response Formats

application/json, text/json

Sample:
{
  "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
}

text/html

Sample:
{"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}

application/xml, text/xml

Sample:
<OutputSitePageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.SiteSettings">
  <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>

application/bson

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