POST Brands/SiteSettings/SitePages/Bulk

Get site pages by a list of site page IDs

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

text/html

Sample:
[1,2]

application/xml, text/xml

Sample:
<ArrayOfshort xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <short>1</short>
  <short>2</short>
</ArrayOfshort>

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 'List`1'.

application/bson

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

Response Information

Resource Description

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

application/bson

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