POST api/APPConfig/AdList

获得广告轮播图

Request Information

URI Parameters

None.

Body Parameters

输入参数

EmptyInput
NameDescriptionTypeAdditional information
Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "SessionID": "ab8de166-e41c-455d-9504-92177708f633",
  "TimeStamp": 2
}

application/xml, text/xml

Sample:
<EmptyInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">
  <SessionID>ab8de166-e41c-455d-9504-92177708f633</SessionID>
  <TimeStamp>2</TimeStamp>
  <Token>sample string 1</Token>
</EmptyInput>

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 'EmptyInput'.

Response Information

Resource Description

返回值

Collection of AdInfoOutput
NameDescriptionTypeAdditional information
Image1242

广告图片 苹果 6+ 1242x448

string

None.

Image750

广告图片 苹果 6,6s 750x270

string

None.

Image640

广告图片 苹果 5,5s 640x270

string

None.

Image1080

广告图片 安卓 1080x406

string

None.

Link

广告链接 http://url 内部链接 appview://书法课堂

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Image1242": "sample string 1",
    "Image750": "sample string 2",
    "Image640": "sample string 3",
    "Image1080": "sample string 4",
    "Link": "sample string 5"
  },
  {
    "Image1242": "sample string 1",
    "Image750": "sample string 2",
    "Image640": "sample string 3",
    "Image1080": "sample string 4",
    "Link": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPPConfigController.AdInfoOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.Common">
  <APPConfigController.AdInfoOutput>
    <Image1080>sample string 4</Image1080>
    <Image1242>sample string 1</Image1242>
    <Image640>sample string 3</Image640>
    <Image750>sample string 2</Image750>
    <Link>sample string 5</Link>
  </APPConfigController.AdInfoOutput>
  <APPConfigController.AdInfoOutput>
    <Image1080>sample string 4</Image1080>
    <Image1242>sample string 1</Image1242>
    <Image640>sample string 3</Image640>
    <Image750>sample string 2</Image750>
    <Link>sample string 5</Link>
  </APPConfigController.AdInfoOutput>
</ArrayOfAPPConfigController.AdInfoOutput>