# 查询外部投递列表

可根据人才 ID 获取人才外部投递列表。

## 请求

基本 | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/hire/v1/external_applications
HTTP Method | GET
接口频率限制 | [20 次/秒](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
支持的应用类型 | Custom App
权限要求<br>**调用该 API 所需的权限。开启其中任意一项权限即可调用** | 更新外部投递(hire:external_application)

### 请求头

名称 | 类型 | 必填 | 描述
---|---|---|---
Authorization | string | 是 | `tenant_access_token`<br>**值格式**："Bearer `access_token`"<br>**示例值**："Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[了解更多：如何选择与获取 access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)

### 查询参数

名称 | 类型 | 必填 | 描述
---|---|---|---
talent_id | string | 是 | 人才 ID，可通过[获取人才列表](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/list)接口获取<br>**示例值**：6960663240925956660
page_size | int | 否 | 分页大小<br>**默认值：**<br>10<br>**示例值**：10<br>**数据校验规则**：<br>- 最大值：`20`
page_token | string | 否 | 分页标记，第一次请求不填，表示从头开始遍历；分页查询结果还有更多项时会同时返回新的 page_token，下次遍历可采用该 page_token 获取查询结果<br>**示例值**：eyJvZmZzZXQiOjEwLCJ0aW1lc3RhbXAiOjE2Mjc1NTUyMjM2NzIsImlkIjpudWxsfQ==

## 响应

### 响应体

名称 | 类型 | 描述
---|---|---
code | int | 错误码，非 0 表示失败
msg | string | 错误描述
data | \- | \-
items | external_application\[\] | 外部投递列表
id | string | 外部投递 ID
job_recruitment_type | int | 职位招聘类型<br>**可选值有**：<br>- 1：社招<br>- 2：校招
job_title | string | 职位名称
resume_source | string | 简历来源
stage | string | 阶段名称
talent_id | string | 人才 ID，详情请查看：[获取人才信息](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/get)
termination_reason | string | 终止原因
delivery_type | int | 投递类型<br>**可选值有**：<br>- 1：HR 寻访<br>- 2：候选人主动投递<br>- 3：人才推荐<br>- 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 | 系统异常 | 请根据实际报错信息定位问题或联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
400 | 1002002 | 参数错误 | 检查参数是否正确，例如类型，大小
400 | 1002102 | 人才不存在 | 人才不存在，请检查`talent_id`参数的正确性

