查询外部投递列表
可根据人才 ID 获取人才外部投递列表。
请求
| 项目 | 值 |
|---|---|
| HTTP URL | https://open.feishu.cn/open-apis/hire/v1/external_applications |
| HTTP Method | GET |
| 接口频率限制 | 20 次/秒 |
| 支持的应用类型 | custom |
| 权限要求 调用该 API 所需的权限。开启其中任意一项权限即可调用 | hire:external_application 更新外部投递 |
请求头
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| Authorization | string | 是 | tenant_access_token 值格式:"Bearer access_token" 示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" 了解更多:如何选择与获取 access token |
查询参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
talent_id | string | 是 | 人才 ID,可通过获取人才列表接口获取 示例值:6960663240925956660 |
page_size | int | 否 | 分页大小 默认值: 10 示例值:10 数据校验规则: - 最大值: 20 |
page_token | string | 否 | 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果 示例值:eyJvZmZzZXQiOjEwLCJ0aW1lc3RhbXAiOjE2Mjc1NTUyMjM2NzIsImlkIjpudWxsfQ== |
响应
响应体
| 名称 | 类型 | 描述 |
|---|---|---|
code | int | 错误码,非 0 表示失败 |
msg | string | 错误描述 |
data | \- | - |
└ items | external_application\[\] | 外部投递列表 |
└ id | string | 外部投递 ID |
└ job_recruitment_type | int | 职位招聘类型 可选值有: - 1: 社招 - 2: 校招 |
└ job_title | string | 职位名称 |
└ resume_source | string | 简历来源 |
└ stage | string | 阶段名称 |
└ talent_id | string | 人才 ID,详情请查看:获取人才信息 |
└ termination_reason | string | 终止原因 |
└ delivery_type | int | 投递类型 可选值有: - 1: HR 寻访 - 2: 候选人主动投递 - 3: 人才推荐 - 4: 其他 |
└ modify_time | int | 投递在外部系统终止时间,毫秒时间戳(字段类型为:int64) |
└ create_time | int | 投递在外部系统创建时间,毫秒时间戳(字段类型为:int64) |
└ termination_type | string | 终止类型 |
└ has_more | boolean | 是否还有更多项 |
└ page_token | string | 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token |
响应体示例
json
{
"code": 0,
"msg": "ok",
"data": {
"items": [
{
"id": "6989202908470446380",
"job_recruitment_type": 1,
"job_title": "高级Java",
"resume_source": "lagou",
"stage": "简历初筛",
"talent_id": "6960663240925956459",
"termination_reason": "不合适",
"delivery_type": 1,
"modify_time": 1618500278645,
"create_time": 1618500278644,
"termination_type": "HR 主动终止"
}
],
"has_more": true,
"page_token": "eyJvZmZzZXQiOjEwLCJ0aW1lc3RhbXAiOjE2Mjc1NTUyMjM2NzIsImlkIjpudWxsfQ=="
}
}错误码
| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 500 | 1002001 | 系统异常 | 请根据实际报错信息定位问题或联系技术支持 |
| 400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
| 400 | 1002102 | 人才不存在 | 人才不存在,请检查talent_id参数的正确性 |
