POST api/TwoShopSellLog/getAddShopSellLogResult
添加店铺销售记录的时候,调用,获取自动算取的结果。如:异常折扣、开支等
Request Information
URI Parameters
None.
Body Parameters
getAddShopSellLogPost| Name | Description | Type | Additional information |
|---|---|---|---|
| groupid | integer |
None. |
|
| datetime |
日期:格式需带上时分秒:2019/11/03 03:26:00 |
string |
None. |
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"groupid": 1,
"datetime": "sample string 1",
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<getAddShopSellLogPost 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> <datetime>sample string 1</datetime> <groupid>1</groupid> </getAddShopSellLogPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
getAddShopSellLogResult| Name | Description | Type | Additional information |
|---|---|---|---|
| yichangzhekou | decimal number |
None. |
|
| daijinquan | decimal number |
None. |
|
| kaizhi | decimal number |
None. |
|
| jifen | integer |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"yichangzhekou": 1.0,
"daijinquan": 2.0,
"kaizhi": 3.0,
"jifen": 4,
"code": 5,
"msg": "sample string 6"
}
application/xml, text/xml
Sample:
<getAddShopSellLogResult 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">5</code> <msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 6</msg> <daijinquan>2</daijinquan> <jifen>4</jifen> <kaizhi>3</kaizhi> <yichangzhekou>1</yichangzhekou> </getAddShopSellLogResult>