调薪记录

接口说明:该接口可分页查询公司内雇员的调薪记录

请求方式:GET(HTTPS)
请求地址https://api.xinrenxinshi.com/v3/payroll/change/history?pageNo&sign=O%2FKsqsduHzQKzk7OoM9gG%2Fi3v9E%3D&pageSize=100&beginTime=&endTime=2019-09-08&timestamp=1574663426132

请求Header:

key value
access_token 获取的access_token的实际值

参数说明

参数 类型 必传(Y/N) 说明
pageNo Integer N 页数,默认从0开始,翻页+1
pageSize Integer N 每页条数,1~100之间。默认每页50条
beginTime String Y 开始时间,时间格式yyyy-MM-dd
endTime String Y 结束时间,时间格式yyyy-MM-dd
timestamp Long Y 请求时间戳(精确到毫秒)
sign String Y 请求参数签名

返回结果

参数 类型 必传(Y/N) 说明
errcode Integer Y 0成功,其他失败
errmsg String Y 操作结果描述
hasMore boolean Y true表示还有分页列表可以查询,false表示分页已到最后一页
changeHistoryInfoList List<PayrollChangeHistoryInfoModel> Y 调薪记录列表

PayrollChangeHistoryInfoModel

参数 类型 必传(Y/N) 说明
employeeId String Y 员工ID
name String Y 员工姓名
mobile String Y 员工手机号
jobNumber String Y 工号
departmentName String Y 当前部门
departmentId String Y 部门ID
hireType Integer Y 聘用类型,0-正式,10-实习,11-劳务,12-顾问,13-返聘,14-外包
valueBefore double Y 合计工资调整之前
valueAfter double Y 合计工资调整之后
totalBasePayBefore double Y 基本工资调整之前
totalBasePayAfter double Y 基本工资调整之后
happenDate String Y 调薪日期
addtime int Y 添加时间
changeRate String Y 调薪比例

响应示例

{
  "errcode": 0,
  "errmsg": "ok",
  "hasMore": false,
  "changeHistoryInfoList": [
    {
      "employeeId": "ded2e15a531142df91fea4c079f0335c",
      "name": "001",
      "mobile": "19012345001",
      "jobNumber": "H001",
      "departmentName": "测试部门",
      "departmentId": "0af9e2cacb1d422892a0764cccd3dbd8",
      "hireType": 0,
      "valueBefore": 0.0,
      "valueAfter": 100.0,
      "totalBasePayBefore": 0.0,
      "totalBasePayAfter": 100.0,
      "happenDate": "2019-06-01",
      "addtime": 1574223491,
      "changeRate": ""
    },
    {
      "employeeId": "388b84d7d52e40699ba9e0aef27bbc96",
      "name": "02",
      "mobile": "19012345002",
      "jobNumber": "",
      "departmentName": "部门02",
      "departmentId": "c0843cfbd48b4912a0405645880662b1",
      "hireType": 0,
      "valueBefore": 0.0,
      "valueAfter": 200.0,
      "totalBasePayBefore": 0.0,
      "totalBasePayAfter": 200.0,
      "happenDate": "2019-08-01",
      "addtime": 1574223502,
      "changeRate": ""
    },
    {
      "employeeId": "05912825ae294a5184085a9642b635d3",
      "name": "03",
      "mobile": "19012345003",
      "jobNumber": "",
      "departmentName": "部门01",
      "departmentId": "a214623efb7c41b48c20d22ca2da10e9",
      "hireType": 0,
      "valueBefore": 0.0,
      "valueAfter": 300.0,
      "totalBasePayBefore": 0.0,
      "totalBasePayAfter": 300.0,
      "happenDate": "2019-09-08",
      "addtime": 1574223514,
      "changeRate": ""
    }
  ]
}
2020 © 企家有道网络技术(北京)有限公司版权所有@京ICP备15035315号 all right reserved,powered by Gitbookupdate by: 2020-12-16 14:23:56

results matching ""

    No results matching ""