POST api/Banner/list
Request Information
URI Parameters
None.
Body Parameters
BaseListPost| Name | Description | Type | Additional information |
|---|---|---|---|
| skip |
跳过多少条 |
integer |
None. |
| limit |
取多少条 |
integer |
None. |
| uid |
账号id |
integer |
None. |
| token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"skip": 1,
"limit": 2,
"uid": 3,
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<BaseListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models"> <token>sample string 4</token> <uid>3</uid> <limit>2</limit> <skip>1</skip> </BaseListPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
bannerListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| count | integer |
None. |
|
| list | Collection of bannerItem |
None. |
|
| Code | integer |
None. |
|
| Msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"count": 1,
"list": [
{
"id": 1,
"imgurl": "sample string 2",
"ordering": 3,
"linkurl": "sample string 4"
},
{
"id": 1,
"imgurl": "sample string 2",
"ordering": 3,
"linkurl": "sample string 4"
}
],
"Code": 2,
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<bannerListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Controllers">
<Code xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">2</Code>
<Msg xmlns="http://schemas.datacontract.org/2004/07/LyWebApi.Models">sample string 3</Msg>
<count>1</count>
<list>
<bannerItem>
<id>1</id>
<imgurl>sample string 2</imgurl>
<linkurl>sample string 4</linkurl>
<ordering>3</ordering>
</bannerItem>
<bannerItem>
<id>1</id>
<imgurl>sample string 2</imgurl>
<linkurl>sample string 4</linkurl>
<ordering>3</ordering>
</bannerItem>
</list>
</bannerListResult>