POST api/HeaderBanner/ListHeaderBanner

列出banner广告

Request Information

URI Parameters

None.

Body Parameters

ListHeaderBannerReq
NameDescriptionTypeAdditional information
ChannelId

string

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChannelId": "sample string 1",
  "ProductId": 2,
  "Token": "sample string 3",
  "ChannalId": "sample string 4",
  "Version": "sample string 5",
  "language": "sample string 6"
}

application/xml, text/xml

Sample:
<ListHeaderBannerReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ChannalId>sample string 4</ChannalId>
  <ProductId>2</ProductId>
  <Token>sample string 3</Token>
  <Version>sample string 5</Version>
  <language>sample string 6</language>
  <ChannelId>sample string 1</ChannelId>
</ListHeaderBannerReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of BannerItem
NameDescriptionTypeAdditional information
ImgUrl

图片url

string

None.

OpenAddress

打开的地址

string

None.

IsToPage

是否点击轮播图跳转功能,1表示跳,0表示不跳

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ImgUrl": "sample string 1",
    "OpenAddress": "sample string 2",
    "IsToPage": 3
  },
  {
    "ImgUrl": "sample string 1",
    "OpenAddress": "sample string 2",
    "IsToPage": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfBannerItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <BannerItem>
    <ImgUrl>sample string 1</ImgUrl>
    <IsToPage>3</IsToPage>
    <OpenAddress>sample string 2</OpenAddress>
  </BannerItem>
  <BannerItem>
    <ImgUrl>sample string 1</ImgUrl>
    <IsToPage>3</IsToPage>
    <OpenAddress>sample string 2</OpenAddress>
  </BannerItem>
</ArrayOfBannerItem>