Tims小程序
  1. HR同步数据接口(易路)
Tims小程序
  • Interactive
    • HR同步数据接口(易路)
      • 人员异动信息接口
        POST
      • 员工信息接口
        POST
      • 岗位(职位)基础信息接口
        POST
      • 离职记录接口
        POST
      • 门店(部门)基础信息接口
        POST
  1. HR同步数据接口(易路)

离职记录接口

开发中
POST
/hr/resignationInfo
同步离职信息接口,code是唯一键,接口内部会根据唯一键判断是否进行更新操作

请求参数

Header 参数
Content-Type
string 
必需
示例值:
application/json
Body 参数application/json
json数组格式,最大可传入数组不超过50条
array of:
code
string 
编号
必需
employeeCode
string 
员工编号
必需
causeCategory
string 
原因类别
必需
resignationDate
string 
离职日期
必需
billStatus
string 
必需
单据状态,枚举需要易路提供 枚举 true false
示例
[
    {
        "code": "string",
        "employeeCode": "string",
        "causeCategory": "string",
        "resignationDate": "string",
        "billStatus": "string"
    }
]

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/hr/resignationInfo' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "code": "string",
        "employeeCode": "string",
        "causeCategory": "string",
        "resignationDate": "string",
        "billStatus": "string"
    }
]'

返回响应

🟢200成功
application/json
Body
code
string 
可选
msg
string 
可选
data
null 
可选
示例
{
    "code": "string",
    "msg": "string",
    "data": null
}
修改于 2023-10-23 15:02:15
上一页
岗位(职位)基础信息接口
下一页
门店(部门)基础信息接口
Built with