POST api/TwoGongZi/getList
Request Information
URI Parameters
None.
Body Parameters
getTwoGongziListPost| Name | Description | Type | Additional information |
|---|---|---|---|
| groupid | 数组: integer |
None. |
|
| userid |
店员传递userid只能看到自己的数据。不传递则根据groupid查询 |
integer |
None. |
| dianzhang |
传递1,则代表只赛选店长 |
integer |
None. |
| month |
月份,格式为:某个月的第一天,如:2019/04/01 |
string |
None. |
| status | TwoGongZiStatus |
None. |
|
| notStatus | integer |
None. |
|
| first | integer |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"groupid": [
1,
2
],
"userid": 1,
"dianzhang": 1,
"month": "sample string 1",
"status": 0,
"notStatus": 1,
"first": 1,
"tel": "sample string 2",
"token": "sample string 3",
"uid": 1
}
application/xml, text/xml
Sample:
<getTwoGongziListPost 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>
<dianzhang>1</dianzhang>
<first>1</first>
<groupid xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</groupid>
<month>sample string 1</month>
<notStatus>1</notStatus>
<status>create</status>
<userid>1</userid>
</getTwoGongziListPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
getTwoGongziListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| dixinTotal | decimal number |
None. |
|
| tichengTotal | decimal number |
None. |
|
| shifaTotal | decimal number |
None. |
|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
| list | 数组: getTwoGongziListItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"list": [
{
"id": 1,
"username": "sample string 2",
"dixin": 3.0,
"ticheng": 4.0,
"shifa": 5.0,
"status": 0,
"img": "sample string 6",
"dt": "sample string 7",
"begindt": "sample string 8",
"enddt": "sample string 9",
"shenpiUserId": 1
},
{
"id": 1,
"username": "sample string 2",
"dixin": 3.0,
"ticheng": 4.0,
"shifa": 5.0,
"status": 0,
"img": "sample string 6",
"dt": "sample string 7",
"begindt": "sample string 8",
"enddt": "sample string 9",
"shenpiUserId": 1
}
],
"dixinTotal": 1.0,
"tichengTotal": 2.0,
"shifaTotal": 3.0,
"code": 4,
"msg": "sample string 5"
}
application/xml, text/xml
Sample:
<getTwoGongziListResult 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">4</code>
<msg xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 5</msg>
<dixinTotal>1</dixinTotal>
<list>
<getTwoGongziListItem>
<begindt>sample string 8</begindt>
<dixin>3</dixin>
<dt>sample string 7</dt>
<enddt>sample string 9</enddt>
<id>1</id>
<img>sample string 6</img>
<shenpiUserId>1</shenpiUserId>
<shifa>5</shifa>
<status>create</status>
<ticheng>4</ticheng>
<username>sample string 2</username>
</getTwoGongziListItem>
<getTwoGongziListItem>
<begindt>sample string 8</begindt>
<dixin>3</dixin>
<dt>sample string 7</dt>
<enddt>sample string 9</enddt>
<id>1</id>
<img>sample string 6</img>
<shenpiUserId>1</shenpiUserId>
<shifa>5</shifa>
<status>create</status>
<ticheng>4</ticheng>
<username>sample string 2</username>
</getTwoGongziListItem>
</list>
<shifaTotal>3</shifaTotal>
<tichengTotal>2</tichengTotal>
</getTwoGongziListResult>