POST api/ZhangMu/zhangmuInfoOfDay
Request Information
URI Parameters
None.
Body Parameters
zhangmuInfoOfDayPost| Name | Description | Type | Additional information |
|---|---|---|---|
| dt |
哪一天的账目:2018-07-14 |
string |
None. |
| groupid | integer |
None. |
|
| type |
1:店铺账目,2:日汇总 |
integer |
None. |
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"dt": "sample string 1",
"groupid": 1,
"type": 1,
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<zhangmuInfoOfDayPost 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> <dt>sample string 1</dt> <groupid>1</groupid> <type>1</type> </zhangmuInfoOfDayPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
zhangmuInfoOfDayResult| Name | Description | Type | Additional information |
|---|---|---|---|
| zhangmuid | integer |
None. |
|
| status | ZhangMuStatus |
None. |
|
| yingjiao | decimal number |
None. |
|
| yingye | decimal number |
None. |
|
| weixin | decimal number |
None. |
|
| zhifubao | decimal number |
None. |
|
| xianjin | decimal number |
None. |
|
| zhangdan | decimal number |
None. |
|
| daishenhe | decimal number |
None. |
|
| list | 数组: zhangmuSellLog |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"zhangmuid": 1,
"status": 0,
"yingjiao": 2.0,
"yingye": 3.0,
"weixin": 4.0,
"zhifubao": 5.0,
"xianjin": 6.0,
"zhangdan": 7.0,
"daishenhe": 8.0,
"list": [
{
"pinpaiid": 1,
"pinpai": "sample string 2",
"sellAmount": 3.0,
"sellCount": 4,
"diaobo": 5,
"laihuotuihuo": 6,
"kucun": 7
},
{
"pinpaiid": 1,
"pinpai": "sample string 2",
"sellAmount": 3.0,
"sellCount": 4,
"diaobo": 5,
"laihuotuihuo": 6,
"kucun": 7
}
],
"code": 9,
"msg": "sample string 10"
}
application/xml, text/xml
Sample:
<zhangmuInfoOfDayResult 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">9</code>
<msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 10</msg>
<daishenhe>8</daishenhe>
<list>
<zhangmuSellLog>
<diaobo>5</diaobo>
<kucun>7</kucun>
<laihuotuihuo>6</laihuotuihuo>
<pinpai>sample string 2</pinpai>
<pinpaiid>1</pinpaiid>
<sellAmount>3</sellAmount>
<sellCount>4</sellCount>
</zhangmuSellLog>
<zhangmuSellLog>
<diaobo>5</diaobo>
<kucun>7</kucun>
<laihuotuihuo>6</laihuotuihuo>
<pinpai>sample string 2</pinpai>
<pinpaiid>1</pinpaiid>
<sellAmount>3</sellAmount>
<sellCount>4</sellCount>
</zhangmuSellLog>
</list>
<status>weiqueren</status>
<weixin>4</weixin>
<xianjin>6</xianjin>
<yingjiao>2</yingjiao>
<yingye>3</yingye>
<zhangdan>7</zhangdan>
<zhangmuid>1</zhangmuid>
<zhifubao>5</zhifubao>
</zhangmuInfoOfDayResult>