POST api/FenXi/YingYeFenXiOfGroup
营业分析(店铺)
Request Information
URI Parameters
None.
Body Parameters
yyfxOfGroupPost| Name | Description | Type | Additional information |
|---|---|---|---|
| groupid | integer |
None. |
|
| compYear | 数组: integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"groupid": 1,
"compYear": [
1,
2
],
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<yyfxOfGroupPost 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>
<compYear xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</compYear>
<groupid>1</groupid>
</yyfxOfGroupPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
yyfxOfGroupListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| list | 数组: yyfxOfGroupItem |
None. |
|
| total | yyfxOfGroupItem |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"list": [
{
"month": 1,
"year": 1,
"count": 2,
"amount": 3.0,
"lirun": 4.0,
"zhanbi": "sample string 5",
"tongbi": "sample string 6",
"year2": 7,
"count2": 8,
"amount2": 9.0,
"lirun2": 10.0,
"zhanbi2": "sample string 11",
"tongbi2": "sample string 12"
},
{
"month": 1,
"year": 1,
"count": 2,
"amount": 3.0,
"lirun": 4.0,
"zhanbi": "sample string 5",
"tongbi": "sample string 6",
"year2": 7,
"count2": 8,
"amount2": 9.0,
"lirun2": 10.0,
"zhanbi2": "sample string 11",
"tongbi2": "sample string 12"
}
],
"total": {
"month": 1,
"year": 1,
"count": 2,
"amount": 3.0,
"lirun": 4.0,
"zhanbi": "sample string 5",
"tongbi": "sample string 6",
"year2": 7,
"count2": 8,
"amount2": 9.0,
"lirun2": 10.0,
"zhanbi2": "sample string 11",
"tongbi2": "sample string 12"
},
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<yyfxOfGroupListResult 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>
<yyfxOfGroupItem>
<amount>3</amount>
<amount2>9</amount2>
<count>2</count>
<count2>8</count2>
<lirun>4</lirun>
<lirun2>10</lirun2>
<month>1</month>
<tongbi>sample string 6</tongbi>
<tongbi2>sample string 12</tongbi2>
<year>1</year>
<year2>7</year2>
<zhanbi>sample string 5</zhanbi>
<zhanbi2>sample string 11</zhanbi2>
</yyfxOfGroupItem>
<yyfxOfGroupItem>
<amount>3</amount>
<amount2>9</amount2>
<count>2</count>
<count2>8</count2>
<lirun>4</lirun>
<lirun2>10</lirun2>
<month>1</month>
<tongbi>sample string 6</tongbi>
<tongbi2>sample string 12</tongbi2>
<year>1</year>
<year2>7</year2>
<zhanbi>sample string 5</zhanbi>
<zhanbi2>sample string 11</zhanbi2>
</yyfxOfGroupItem>
</list>
<total>
<amount>3</amount>
<amount2>9</amount2>
<count>2</count>
<count2>8</count2>
<lirun>4</lirun>
<lirun2>10</lirun2>
<month>1</month>
<tongbi>sample string 6</tongbi>
<tongbi2>sample string 12</tongbi2>
<year>1</year>
<year2>7</year2>
<zhanbi>sample string 5</zhanbi>
<zhanbi2>sample string 11</zhanbi2>
</total>
</yyfxOfGroupListResult>