POST api/TwoPanCun/getZhangMuShuByPinPai
新建盘存的时候,用于获取账目数(如果发现返回的数据不对,立即反馈给后端检查) 获取某个品牌的实际库存量
Request Information
URI Parameters
None.
Body Parameters
getZhangMuShuByPinPaiPost| Name | Description | Type | Additional information |
|---|---|---|---|
| pinpai | string |
None. |
|
| dt | string |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pinpai": "sample string 1",
"dt": "sample string 2",
"tel": "sample string 3",
"token": "sample string 4",
"uid": 1
}
application/xml, text/xml
Sample:
<getZhangMuShuByPinPaiPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers"> <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 4</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <dt>sample string 2</dt> <pinpai>sample string 1</pinpai> </getZhangMuShuByPinPaiPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
getZhangMuShuByPinPaiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| count | integer |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"count": 1,
"code": 2,
"msg": "sample string 3"
}
application/xml, text/xml
Sample:
<getZhangMuShuByPinPaiResult 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">2</code> <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</msg> <count>1</count> </getZhangMuShuByPinPaiResult>