GET api/View/DevicePromo?appKey={appKey}&layout={layout}&type={type}

Documentation for 'DevicePromo'.

Request Information

Parameters

NameDescriptionAdditional information
appKey
Documentation for 'appKey'.

Define this parameter in the request URI.

layout
Documentation for 'layout'.

Define this parameter in the request URI.

type
Documentation for 'type'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ImageUrl": "sample string 2",
    "ContentId": 1,
    "Copy": "sample string 3"
  },
  {
    "Id": 1,
    "ImageUrl": "sample string 2",
    "ContentId": 1,
    "Copy": "sample string 3"
  },
  {
    "Id": 1,
    "ImageUrl": "sample string 2",
    "ContentId": 1,
    "Copy": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntities.CarouselItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMM.Public">
  <Entities.CarouselItem>
    <ContentId>1</ContentId>
    <Copy>sample string 3</Copy>
    <Id>1</Id>
    <ImageUrl>sample string 2</ImageUrl>
  </Entities.CarouselItem>
  <Entities.CarouselItem>
    <ContentId>1</ContentId>
    <Copy>sample string 3</Copy>
    <Id>1</Id>
    <ImageUrl>sample string 2</ImageUrl>
  </Entities.CarouselItem>
  <Entities.CarouselItem>
    <ContentId>1</ContentId>
    <Copy>sample string 3</Copy>
    <Id>1</Id>
    <ImageUrl>sample string 2</ImageUrl>
  </Entities.CarouselItem>
</ArrayOfEntities.CarouselItem>