操作候选人入职
POST
/open-apis/hire/v1/applications/{application_id}/transfer_onboard
自建应用
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 1002001 | 系统错误 | 请联系研发排查 |
400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.feishu.cn/open-apis/hire/v1/applications/12312312312/transfer_onboard?user_id_type=open_id' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"actual_onboard_time": 1616428800000,
"expected_conversion_time": 1616428800000,
"job_requirement_id": "6960663240925956402",
"operator_id": "ou-xxx",
"onboard_city_code": "CT_2",
"department": "6966123381141866028",
"leader": "ou-xxx",
"sequence": "7006234385490345986",
"level": "6937934036379650311",
"employee_type": "1"
}'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"employee": {
"id": "7095600054216542508",
"application_id": "7073372582620416300",
"onboard_status": 1,
"conversion_status": 1,
"onboard_time": 1637596800000,
"expected_conversion_time": 1637596800000,
"actual_conversion_time": 1637596800000,
"overboard_time": 1637596800000,
"overboard_note": "职业发展考虑",
"onboard_city_code": "CT_2",
"department": "6966123381141866028",
"leader": "ou-xxx",
"sequence": "6937934036379650311",
"level": "7006234385490345986",
"employee_type": "1"
}
}
}
请求参数
Path 参数
application_id
string
必需
示例值:
12312312312
Query 参数
user_id_type
string
可选
示例值:
open_id
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-02-07 06:44:06