POST api/ZheKou/getZhekouList
折扣列表
Request Information
URI Parameters
None.
Body Parameters
BaseListPost| Name | Description | Type | Additional information |
|---|---|---|---|
| skip |
跳过多少条 |
integer |
None. |
| limit |
取多少条 |
integer |
None. |
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"skip": 1,
"limit": 2,
"tel": "sample string 3",
"token": "sample string 4",
"uid": 1
}
application/xml, text/xml
Sample:
<BaseListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <tel>sample string 3</tel> <token>sample string 4</token> <uid>1</uid> <limit>2</limit> <skip>1</skip> </BaseListPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
zhekouResult| Name | Description | Type | Additional information |
|---|---|---|---|
| list | 数组: zhekouItem |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"list": [
{
"dingjia": "sample string 1",
"zhengchangZK": "sample string 2",
"neibuZK": "sample string 3",
"neibuyouhuiZK": "sample string 4",
"kaishishijian": "sample string 5"
},
{
"dingjia": "sample string 1",
"zhengchangZK": "sample string 2",
"neibuZK": "sample string 3",
"neibuyouhuiZK": "sample string 4",
"kaishishijian": "sample string 5"
}
],
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<zhekouResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers">
<code xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</code>
<msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 2</msg>
<list>
<zhekouItem>
<dingjia>sample string 1</dingjia>
<kaishishijian>sample string 5</kaishishijian>
<neibuZK>sample string 3</neibuZK>
<neibuyouhuiZK>sample string 4</neibuyouhuiZK>
<zhengchangZK>sample string 2</zhengchangZK>
</zhekouItem>
<zhekouItem>
<dingjia>sample string 1</dingjia>
<kaishishijian>sample string 5</kaishishijian>
<neibuZK>sample string 3</neibuZK>
<neibuyouhuiZK>sample string 4</neibuyouhuiZK>
<zhengchangZK>sample string 2</zhengchangZK>
</zhekouItem>
</list>
</zhekouResult>