POST api/TwoGeRenGongZiTongJi/getList

Request Information

URI Parameters

None.

Body Parameters

getGerengongziListPost
NameDescriptionTypeAdditional information
groupid

groupid和userid二选一,传递userid代表只看这个人的数据

integer

None.

userid

integer

None.

begindt

string

None.

enddt

string

None.

isAll

boolean

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "groupid": 1,
  "userid": 1,
  "begindt": "sample string 1",
  "enddt": "sample string 2",
  "isAll": true,
  "tel": "sample string 3",
  "token": "sample string 4",
  "uid": 1
}

application/xml, text/xml

Sample:
<getGerengongziListPost 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 3</tel>
  <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 4</token>
  <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid>
  <begindt>sample string 1</begindt>
  <enddt>sample string 2</enddt>
  <groupid>1</groupid>
  <isAll>true</isAll>
  <userid>1</userid>
</getGerengongziListPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

getGerengongziListResult
NameDescriptionTypeAdditional information
rixiaoshouTotal

decimal number

None.

ritichengTotal

decimal number

None.

yuetichengTotal

decimal number

None.

list

数组: getGerengongziListItem

None.

code

状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在...

integer

None.

msg

成功或者错误的说明,例如:登录成功,token过期...

string

None.

Response Formats

application/json, text/json

Sample:
{
  "rixiaoshouTotal": 1.0,
  "ritichengTotal": 2.0,
  "yuetichengTotal": 3.0,
  "list": [
    {
      "id": 1,
      "dt": "sample string 2",
      "username": "sample string 3",
      "rixiaoshou": 4.0,
      "riticheng": 5.0,
      "yueticheng": 6.0,
      "dixin": 7.0,
      "yuegongzi": 8.0,
      "edit": 1
    },
    {
      "id": 1,
      "dt": "sample string 2",
      "username": "sample string 3",
      "rixiaoshou": 4.0,
      "riticheng": 5.0,
      "yueticheng": 6.0,
      "dixin": 7.0,
      "yuegongzi": 8.0,
      "edit": 1
    }
  ],
  "code": 4,
  "msg": "sample string 5"
}

application/xml, text/xml

Sample:
<getGerengongziListResult 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>
  <list>
    <getGerengongziListItem>
      <dixin>7</dixin>
      <dt>sample string 2</dt>
      <edit>1</edit>
      <id>1</id>
      <riticheng>5</riticheng>
      <rixiaoshou>4</rixiaoshou>
      <username>sample string 3</username>
      <yuegongzi>8</yuegongzi>
      <yueticheng>6</yueticheng>
    </getGerengongziListItem>
    <getGerengongziListItem>
      <dixin>7</dixin>
      <dt>sample string 2</dt>
      <edit>1</edit>
      <id>1</id>
      <riticheng>5</riticheng>
      <rixiaoshou>4</rixiaoshou>
      <username>sample string 3</username>
      <yuegongzi>8</yuegongzi>
      <yueticheng>6</yueticheng>
    </getGerengongziListItem>
  </list>
  <ritichengTotal>2</ritichengTotal>
  <rixiaoshouTotal>1</rixiaoshouTotal>
  <yuetichengTotal>3</yuetichengTotal>
</getGerengongziListResult>