POST api/TwoGongZi/twoGetusertichengAndKaoqin

获取用户月提成和考勤、调班

Request Information

URI Parameters

None.

Body Parameters

twoGetusertichengPost
NameDescriptionTypeAdditional information
userid

integer

None.

month

/月份,如2019-03-01代表2019年3月份,需是年月日格式。

string

None.

begindt

string

None.

enddt

string

None.

tel

登录账号

string

None.

token

token

string

None.

uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "month": "sample string 2",
  "begindt": "sample string 3",
  "enddt": "sample string 4",
  "tel": "sample string 5",
  "token": "sample string 6",
  "uid": 1
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

twoGetusertichengResult
NameDescriptionTypeAdditional information
ticheng

decimal number

None.

kaoqin

integer

None.

tiaoban

调班

integer

None.

dixin

decimal number

None.

code

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

integer

None.

msg

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ticheng": 1.0,
  "kaoqin": 2,
  "tiaoban": 3,
  "dixin": 4.0,
  "code": 5,
  "msg": "sample string 6"
}

application/xml, text/xml

Sample:
<twoGetusertichengResult 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>
  <dixin>4</dixin>
  <kaoqin>2</kaoqin>
  <tiaoban>3</tiaoban>
  <ticheng>1</ticheng>
</twoGetusertichengResult>