员工离职¶
功能说明¶
根据员工唯一标识做离职
接口地址¶
- 测试环境: https://openapi.guanaitong.tech/tenant/enterprise/employee/resign
- 生产环境: https://openapi.guanaitong.com/tenant/enterprise/employee/resign
参数说明¶
-
公有参数
发送请求是必须传入公共参数,详见公共参数
-
私有参数
参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
---|---|---|---|---|
user_id | 是 | string | [1,20] | 员工唯一标识 |
enterprise_id | 是 | int | 企业编码 | |
resign_time | 否 | string | [19] | 预约离职时间,格式必须为:yyyy-MM-dd HH:mm:ss |
请求示例¶
POST /tenant/enterprise/employee/resign
Host: openapi.guanaitong.tech
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
access_token=94b252e5e395888b5b2ebaa10a185509&
user_id=HB175&sign=ccb12bea6aa71dd6b079046e414e42ee3184e97c&
timestamp=1491818661&enterprise_id=1234
返回参数说明¶
参数名称 | 描述 |
---|---|
code | 返回码。详见错误返回码。 |
msg | 如果错误,返回错误信息。 |
data | 如果没有错误,返回业务数据 |