GET Brands/SiteSettings/PageTypes?pageTypeID={pageTypeID}

Gets page type by its ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageTypeID

byte

Required

Body Parameters

None.

Response Information

Resource Description

OutputPageTypeModel
NameDescriptionTypeAdditional information
PageTypeID

byte

None.

Name

string

Required

Max length: 48

Min length: 1

String length: inclusive between 0 and 48

Description

string

Max length: 256

Min length: 1

String length: inclusive between 0 and 256

Response Formats

application/json, text/json

Sample:
{
  "PageTypeID": 64,
  "Name": "sample string 2",
  "Description": "sample string 3"
}

text/html

Sample:
{"PageTypeID":64,"Name":"sample string 2","Description":"sample string 3"}

application/xml, text/xml

Sample:
<OutputPageTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.SiteSettings">
  <Description>sample string 3</Description>
  <Name>sample string 2</Name>
  <PageTypeID>64</PageTypeID>
</OutputPageTypeModel>

application/bson

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