POST api/WangLaiZhang/GonghuoshangList
其他供货商往来账的供货商列表页
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
gonghuoshangListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| list | 数组: gonghuoshangItem |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"list": [
{
"id": 1,
"gonghuoshang": "sample string 2",
"yingfukuan": 3.0
},
{
"id": 1,
"gonghuoshang": "sample string 2",
"yingfukuan": 3.0
}
],
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<gonghuoshangListResult 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>
<gonghuoshangItem>
<gonghuoshang>sample string 2</gonghuoshang>
<id>1</id>
<yingfukuan>3</yingfukuan>
</gonghuoshangItem>
<gonghuoshangItem>
<gonghuoshang>sample string 2</gonghuoshang>
<id>1</id>
<yingfukuan>3</yingfukuan>
</gonghuoshangItem>
</list>
</gonghuoshangListResult>