删除外部投递
根据外部投递 ID 删除外部投递。
请求
| 项目 | 值 |
|---|---|
| HTTP URL | https://open.feishu.cn/open-apis/hire/v1/external_applications/:external_application_id |
| HTTP Method | DELETE |
| 接口频率限制 | 20 次/分钟 |
| 支持的应用类型 | custom |
| 权限要求 调用该 API 所需的权限。开启其中任意一项权限即可调用 | hire:external_application 更新外部投递 |
请求头
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| Authorization | string | 是 | tenant_access_token 值格式:"Bearer access_token" 示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560" 了解更多:如何选择与获取 access token |
路径参数
| 名称 | 类型 | 描述 |
|---|---|---|
external_application_id | string | 外部投递 ID,可通过查询外部投递列表接口获取 示例值:"6960663240925956660" |
查询参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
talent_id | string | 否 | 人才 ID,可通过获取人才列表接口获取 示例值:6960663240925956660 |
响应
响应体
| 名称 | 类型 | 描述 |
|---|---|---|
code | int | 错误码,非 0 表示失败 |
msg | string | 错误描述 |
data | \- | - |
└ external_application | 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) |
└ termination_type | string | 终止类型 |
响应体示例
json
{
"code": 0,
"msg": "ok",
"data": {
"external_application": {
"id": "6989202908470446380",
"job_recruitment_type": 1,
"job_title": "高级Java",
"resume_source": "lagou",
"stage": "简历初筛",
"talent_id": "6960663240925956459",
"termination_reason": "不合适",
"delivery_type": 1,
"modify_time": 1618500278645,
"termination_type": "HR 主动终止"
}
}
}错误码
| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 500 | 1002001 | 系统异常 | 请根据实际报错信息定位问题或联系技术支持 |
| 400 | 1002002 | 参数错误 | 检查参数是否正确,例如类型,大小 |
