POST api/Product/SellProductInfo
销售订单详情
Request Information
URI Parameters
None.
Body Parameters
sellInfoPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<sellInfoPost 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 2</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 3</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <id>1</id> </sellInfoPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
sellInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| sellDt | string |
None. |
|
| qrcode |
条形码 |
string |
None. |
| procode | string |
None. |
|
| proName | string |
None. |
|
| yanse | string |
None. |
|
| chima | string |
None. |
|
| dingjia | decimal number |
None. |
|
| zhekou | string |
None. |
|
| count | integer |
None. |
|
| money |
付款金额 |
decimal number |
None. |
| zhekoucause | string |
None. |
|
| paytype | integer |
None. |
|
| huiyuantel | string |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"sellDt": "sample string 2",
"qrcode": "sample string 3",
"procode": "sample string 4",
"proName": "sample string 5",
"yanse": "sample string 6",
"chima": "sample string 7",
"dingjia": 8.0,
"zhekou": "sample string 9",
"count": 10,
"money": 11.0,
"zhekoucause": "sample string 12",
"paytype": 1,
"huiyuantel": "sample string 13",
"code": 14,
"msg": "sample string 15"
}
application/xml, text/xml
Sample:
<sellInfoResult 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">14</code> <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 15</msg> <chima>sample string 7</chima> <count>10</count> <dingjia>8</dingjia> <huiyuantel>sample string 13</huiyuantel> <id>1</id> <money>11</money> <paytype>1</paytype> <proName>sample string 5</proName> <procode>sample string 4</procode> <qrcode>sample string 3</qrcode> <sellDt>sample string 2</sellDt> <yanse>sample string 6</yanse> <zhekou>sample string 9</zhekou> <zhekoucause>sample string 12</zhekoucause> </sellInfoResult>