POST api/Service/BannerList?CityID={CityID}&BuildingID={BuildingID}&CookCode={CookCode}

【可用】轮播图列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CityID

城市编号

string

Required

BuildingID

公寓编号

string

Required

CookCode

登录token

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfListOfBannerItem
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Collection of BannerItem

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": [
    {
      "Id": 1,
      "Title": "sample string 2",
      "CoverImg": "sample string 3",
      "DetailUrl": "sample string 4",
      "SortNo": 5
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "CoverImg": "sample string 3",
      "DetailUrl": "sample string 4",
      "SortNo": 5
    }
  ]
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":[{"Id":1,"Title":"sample string 2","CoverImg":"sample string 3","DetailUrl":"sample string 4","SortNo":5},{"Id":1,"Title":"sample string 2","CoverImg":"sample string 3","DetailUrl":"sample string 4","SortNo":5}]}

application/xml, text/xml

Sample:
<RequestResultOfArrayOfBannerItemLVEGsFhm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.WebApi.Models">
    <d2p1:BannerItem>
      <d2p1:CoverImg>sample string 3</d2p1:CoverImg>
      <d2p1:DetailUrl>sample string 4</d2p1:DetailUrl>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:SortNo>5</d2p1:SortNo>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:BannerItem>
    <d2p1:BannerItem>
      <d2p1:CoverImg>sample string 3</d2p1:CoverImg>
      <d2p1:DetailUrl>sample string 4</d2p1:DetailUrl>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:SortNo>5</d2p1:SortNo>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:BannerItem>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfArrayOfBannerItemLVEGsFhm>