HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 1002001 | 系统错误 | 请联系研发排查 |
400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
curl --location --request PATCH 'https://open.feishu.cn/open-apis/hire/v1/employees/123?user_id_type=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": 1,
"conversion_info": {
"actual_conversion_time": 1637596800000
},
"overboard_info": {
"actual_overboard_time": 1637596800000,
"overboard_note": "职业发展考虑"
}
}'
{
"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"
}
}
}