获取职位设置
GET
https://open.feishu.cn/open-apis/hire/v1/jobs/{job_id}/config
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
200 | 1002001 | 系统错误 | 请联系研发排查 |
400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/hire/v1/jobs/6960663240925956660/config?user_id_type=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"offer_apply_schema_id": "6960663240925956573",
"offer_process_conf": "6960663240925956572",
"recommended_evaluator_id_list": [
"6960663240925956571"
],
"update_option_list": [
1
],
"assessment_template_biz_id": "6960663240925956571",
"interview_round_conf_list": [
{
"interviewer_id_list": [
"6960663240925956571"
],
"round": 1
}
],
"jr_id_list": [
"6960663240925956571"
],
"interview_round_type_conf_list": [
{
"round_biz_id": "7012129842917837100",
"assessment_template_biz_id": "6960663240925956632"
}
],
"related_job_id_list": [
"6960663240925956573"
],
"interview_appointment_config": {
"enable_interview_appointment_by_interviewer": true,
"config": {
"interview_type": 1,
"talent_timezone_code": "Asia/Shanghai",
"contact_user_id": "ou_c99c5f35d542efc7ee492afe11af19ef",
"contact_mobile": "151********",
"contact_email": "test@email",
"address_id": "6960663240925956576",
"video_type": 1,
"cc": [
"user_id"
],
"remark": "备注",
"interview_notification_template_id": "6960663240925956573",
"appointment_notification_template_id": "6960663240925956573",
"cancel_interview_notification_template_id": "6960663240925956573"
}
}
}'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"job_config": {
"offer_apply_schema": {
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
},
"offer_process_conf": {
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
},
"recommended_evaluator_list": [
{
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
}
],
"assessment_template": {
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
},
"id": "6960663240925956574",
"interview_round_list": [
{
"interviewer_list": [
{
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
}
],
"round": 1
}
],
"job_requirement_list": [
{
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
}
],
"interview_round_type_list": [
{
"assessment_round": {
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
},
"assessment_template": {
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
}
}
],
"related_job_list": [
{
"id": "1213213123123",
"name": {
"zh_cn": "测试",
"en_us": "test"
}
}
],
"job_attribute": 1
}
}
}
请求参数
Path 参数
job_id
string
职位 ID
示例值:
6960663240925956660
Query 参数
user_id_type
string
可选
union_id:标识一个用户在某个应用开发商下的身份。同一用户在同一开发商下的应用中的 Union ID 是相同的,在不同开发商下的应用中的 Union ID 是不同的。通过 Union ID,应用开发商可以把同个用户在多个应用中的身份关联起来。了解更多:如何获取 Union ID?
user_id:标识一个用户在某个租户内的身份。同一个用户在租户 A 和租户 B 内的 User ID 是不同的。在同一个租户内,一个用户的 User ID 在所有应用(包括商店应用)中都保持一致。User ID 主要用于在不同的应用间打通用户数据。了解更多:如何获取 User ID?
默认值:open_id
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-02-07 06:12:19