GET api/{area}/Promotion/GetPromotionPageList?aid={aid}&shopId={shopId}&pIndex={pIndex}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aid

string

Required

shopId

string

Required

pIndex

integer

Default value is 1

pageSize

integer

Default value is 12

area

string

None.

Body Parameters

None.

Response Information

Resource Description

PageInfoList
NameDescriptionTypeAdditional information
ProPageList

Collection of CommImageText

None.

TotalPageCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ProPageList": [
    {
      "url": "sample string 1",
      "img": "sample string 2",
      "text": "sample string 3",
      "description": "sample string 4",
      "isShowText": true,
      "type": 6,
      "createTime": "sample string 7"
    },
    {
      "url": "sample string 1",
      "img": "sample string 2",
      "text": "sample string 3",
      "description": "sample string 4",
      "isShowText": true,
      "type": 6,
      "createTime": "sample string 7"
    }
  ],
  "TotalPageCount": 1
}

application/xml, text/xml

Sample:
<PromotionController.PageInfoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Controllers">
  <ProPageList xmlns:d2p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
    <d2p1:CommImageText>
      <d2p1:createTime>sample string 7</d2p1:createTime>
      <d2p1:description>sample string 4</d2p1:description>
      <d2p1:img>sample string 2</d2p1:img>
      <d2p1:isShowText>true</d2p1:isShowText>
      <d2p1:text>sample string 3</d2p1:text>
      <d2p1:type>6</d2p1:type>
      <d2p1:url>sample string 1</d2p1:url>
    </d2p1:CommImageText>
    <d2p1:CommImageText>
      <d2p1:createTime>sample string 7</d2p1:createTime>
      <d2p1:description>sample string 4</d2p1:description>
      <d2p1:img>sample string 2</d2p1:img>
      <d2p1:isShowText>true</d2p1:isShowText>
      <d2p1:text>sample string 3</d2p1:text>
      <d2p1:type>6</d2p1:type>
      <d2p1:url>sample string 1</d2p1:url>
    </d2p1:CommImageText>
  </ProPageList>
  <TotalPageCount>1</TotalPageCount>
</PromotionController.PageInfoList>