员工复职¶
功能说明¶
更换员工唯一标识将离职员工做复职操作
接口地址¶
- 测试环境: https://openapi.guanaitong.tech/tenant/enterprise/employee/restore
- 生产环境: https://openapi.guanaitong.com/tenant/enterprise/employee/restore
参数说明¶
-
公有参数
发送请求是必须传入公共参数,详见公共参数
-
私有参数
| 参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
|---|---|---|---|---|
| user_id | 是 | string | [1,20] | 员工唯一标识 |
| enterprise_id | 是 | int | 企业编码 |
请求示例¶
POST /tenant/enterprise/employee/restore
Host: openapi.guanaitong.tech
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
access_token=b09a00e9707452e4a86afe95ef731667&enterprise_id=1234&
user_id=SL01&sign=7591e6b8608193c3a1a466428001d4908a87757d&
timestamp=1491812718
返回参数说明¶
| 参数名称 | 描述 |
|---|---|
| code | 返回码。详见错误返回码。 |
| msg | 如果错误,返回错误信息。 |
| data | 如果没有错误,返回user_id |