# 批量查询外派信息

查询员工的外派信息：外派类型、外派地点、职务、职级、上级等。
**注意事项**：- 本接口会按照「员工资源」权限范围返回数据，请确定在「开发者后台 - 权限管理 - 数据权限」中已申请此数据权限
- 字段未返回请检查：字段权限、用户该字段有值，以及「飞书人事-人员档案设置」中字段是否启用
- 数据按照外派 ID 降序返回
- 关于自定义字段格式，本接口已升级，不需要复杂转义了，可参考[自定义字段说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)-入职
**注意事项**：- 延迟说明：搜索同步延迟 10s 以内，即：直接创建、更新对象后 10s 内调用此接口可能查询不到数据。

## 请求

基本 | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/corehr/v2/employees/international_assignments
HTTP Method | GET
接口频率限制 | [5 次/秒](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
支持的应用类型 | Custom App
权限要求<br>**调用该 API 所需的权限。开启其中任意一项权限即可调用**<br>开启任一权限即可 | 读取外派信息(corehr:employees.international_assignment:read)<br>读写外派信息(corehr:employees.international_assignment:write)
字段权限要求 | **注意事项**：该接口返回体中存在下列敏感字段，仅当开启对应的权限后才会返回；如果无需获取这些字段，则不建议申请<br>获取用户 user ID(contact:user.employee_id:readonly)<br>读取外派薪资类型(corehr:employment.international_assignment.compensation_type:read)<br>读写外派薪资类型(corehr:employment.international_assignment.compensation_type:write)<br>读取外派自定义字段(corehr:employment.international_assignment.custom_field:read)<br>读写外派自定义字段(corehr:employment.international_assignment.custom_field:write)<br>读取外派职务(corehr:employment.international_assignment.job:read)<br>读写外派职务(corehr:employment.international_assignment.job:write)<br>读取外派职等(corehr:employment.international_assignment.job_grade:read)<br>读写外派职等(corehr:employment.international_assignment.job_grade:write)<br>读取外派职级(corehr:employment.international_assignment.job_level:read)<br>读写外派职级(corehr:employment.international_assignment.job_level:write)<br>读取外派岗位(corehr:employment.international_assignment.position:read)<br>读写外派岗位(corehr:employment.international_assignment.position:write)<br>读取外派公司(corehr:employment.international_assignment.service_company:read)<br>读写外派公司(corehr:employment.international_assignment.service_company:write)<br>读取外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:read)<br>读写外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:write)<br>读取外派工作日历(corehr:employment.international_assignment.work_calendar:read)<br>读写外派工作日历(corehr:employment.international_assignment.work_calendar:write)<br>读取外派地点(corehr:employment.international_assignment.work_location:read)<br>读写外派地点(corehr:employment.international_assignment.work_location:write)<br>读取外派排班类型(corehr:employment.international_assignment.work_shift:read)<br>读写外派排班类型(corehr:employment.international_assignment.work_shift:write)<br>读取外派工时制度(corehr:employment.international_assignment.working_hours_type:read)<br>读写外派工时制度(corehr:employment.international_assignment.working_hours_type:write)

### 请求头

名称 | 类型 | 必填 | 描述
---|---|---|---
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)

### 查询参数

名称 | 类型 | 必填 | 描述
---|---|---|---
user_id_type | string | 否 | 用户 ID 类型<br>**示例值**：open_id<br>**可选值有**：<br>- open_id：标识一个用户在某个应用中的身份。同一个用户在不同应用中的 Open ID 不同。[了解更多：如何获取 Open ID](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-openid)<br>- union_id：标识一个用户在某个应用开发商下的身份。同一用户在同一开发商下的应用中的 Union ID 是相同的，在不同开发商下的应用中的 Union ID 是不同的。通过 Union ID，应用开发商可以把同个用户在多个应用中的身份关联起来。[了解更多：如何获取 Union ID？](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-union-id)<br>- user_id：标识一个用户在某个租户内的身份。同一个用户在租户 A 和租户 B 内的 User ID 是不同的。在同一个租户内，一个用户的 User ID 在所有应用（包括商店应用）中都保持一致。User ID 主要用于在不同的应用间打通用户数据。[了解更多：如何获取 User ID？](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id)<br>- people_corehr_id：以飞书人事的 ID 来识别用户<br>**默认值**：`open_id`<br>**当值为 `user_id`，字段权限要求**：<br>获取用户 user ID(contact:user.employee_id:readonly)
department_id_type | string | 否 | 此次调用中使用的部门 ID 类型<br>**示例值**：open_department_id<br>**可选值有**：<br>- open_department_id：以 open_department_id 来标识部门<br>- department_id：以 department_id 来标识部门<br>- people_corehr_department_id：以 people_corehr_department_id 来标识部门<br>**默认值**：`open_department_id`
page_size | int | 否 | 分页大小<br>**示例值**：100<br>**默认值**：`200`<br>**数据校验规则**：<br>- 取值范围：`1` ～ `200`
page_token | string | 否 | 分页标记，第一次请求不填，表示从头开始遍历；分页查询结果还有更多项时会同时返回新的 page_token，下次遍历可采用该 page_token 获取查询结果<br>**示例值**：123456
employment_ids | string\[\] | 否 | 雇佣ID<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息<br>- 类型必须与 user_id_type 一致<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
international_assignment_ids | string\[\] | 否 | 外派 ID<br>- 指定外派记录 ID 查询时，请将 page_size 设为最大值，不返回 has_more 参数<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
effective_time | string | 否 | 外派开始日期<br>- 范围筛选，格式：yyyy-mm-dd~yyyy-mm-dd<br>**示例值**：<br>- "2024-01-01~2024-02-02"<br>- "~2024-02-02"<br>- "2024-01-01~"
expiration_time | string | 否 | 外派结束日期<br>- 范围筛选，格式：yyyy-mm-dd~yyyy-mm-dd<br>**示例值**：<br>- "2024-01-01~2024-02-02"<br>- "~2024-02-02"<br>- "2024-01-01~"
employment_status_list | string\[\] | 否 | 雇佣状态<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：employment<br>- custom_api_name：employment_status<br>**示例值**：hired<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
work_location_id_list | string\[\] | 否 | 外派工作地点<br>- 可通过[【批量查询地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/list)获取<br>- 需要以下权限点之一：<br>- 读取外派地点(corehr:employment.international_assignment.work_location:read)<br>- 读写外派地点(corehr:employment.international_assignment.work_location:write)<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
department_id_list | string\[\] | 否 | 外派部门<br>- 可通过[【批量查询部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/department/batch_get)获取<br>- 类型与 department_id_type 一致<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
direct_manager_id_list | string\[\] | 否 | 外派直属上级<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取<br>- 类型与 user_id_type 一致<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
dotted_line_manager_id_list | string\[\] | 否 | 外派虚线上级<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取<br>- 类型与 user_id_type 一致<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
position_id_list | string\[\] | 否 | 外派岗位<br>- 功能灰度中，请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)<br>- 需要以下权限点之一：<br>- 读取外派岗位(corehr:employment.international_assignment.position:read)<br>- 读写外派岗位(corehr:employment.international_assignment.position:write)<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
job_id_list | string\[\] | 否 | 外派职务<br>- 可通过[【批量查询职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job/list)获取<br>- 需要以下权限点之一：<br>- 读取外派职务(corehr:employment.international_assignment.job:read)<br>- 读写外派职务(corehr:employment.international_assignment.job:write)<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
job_family_id_list | string\[\] | 否 | 外派序列<br>- 可通过[【批量查询序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/list)获取<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
job_level_id_list | string\[\] | 否 | 外派职级<br>- 可通过[【批量查询职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/list)获取<br>- 需要以下权限点之一：<br>- 读取外派职级(corehr:employment.international_assignment.job_level:read)<br>- 读写外派职级(corehr:employment.international_assignment.job_level:write)<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
job_grade_id_list | string\[\] | 否 | 外派职等<br>- 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取<br>- 需要以下权限点之一：<br>- 读取外派职等(corehr:employment.international_assignment.job_grade:read)<br>- 读写外派职等(corehr:employment.international_assignment.job_grade:write)<br>**示例值**：7127921432117937708<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
working_hours_type_id_list | string\[\] | 否 | 外派工时制度<br>- 可通过[【批量查询工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/list)获取<br>- 需要以下权限点之一：<br>- 读取外派工时制度(corehr:employment.international_assignment.working_hours_type:read)<br>- 读写外派工时制度(corehr:employment.international_assignment.working_hours_type:write)<br>**示例值**：7293840937989473836<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
service_company_list | string\[\] | 否 | 外派任职公司<br>- 可通过[【批量查询公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/list)获取<br>- 需要以下权限点之一：<br>- 读取外派公司(corehr:employment.international_assignment.service_company:read)<br>- 读写外派公司(corehr:employment.international_assignment.service_company:write)<br>**示例值**：7293840937989473836<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
weekly_working_hours_v2 | number(float) | 否 | 外派周工作时长<br>- 限制两位小数<br>- 需要以下权限点之一：<br>- 读取外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:read)<br>- 读写外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:write)<br>**示例值**：10<br>**数据校验规则**：<br>- 取值范围：`0` ～ `168`
work_shift_list | string\[\] | 否 | 外派排班类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：job_data<br>- custom_api_name：work_shift<br>- 需要以下权限点之一：<br>- 读取外派排班类型(corehr:employment.international_assignment.work_shift:read)<br>- 读写外派排班类型(corehr:employment.international_assignment.work_shift:write)<br>**示例值**：work_shift<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
compensation_type_list | string\[\] | 否 | 外派薪资类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：job_data<br>- custom_api_name：compensation_type<br>- 需要以下权限点之一：<br>- 读取外派薪资类型(corehr:employment.international_assignment.compensation_type:read)<br>- 读写外派薪资类型(corehr:employment.international_assignment.compensation_type:write)<br>**示例值**：hourly<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
international_assignment_expected_end_date | string | 否 | 外派预计结束日期<br>- 范围筛选，格式：yyyy-mm-dd~yyyy-mm-dd<br>**示例值**：- "2024-01-01~2024-02-02"<br>- "~2024-02-02"<br>- "2024-01-01~"
international_assignment_status_list | string\[\] | 否 | 外派状态<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：international_assignment<br>- custom_api_name：international_assignment_status<br>**示例值**：on_assignment<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
international_assignment_type_list | string\[\] | 否 | 外派类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：international_assignment<br>- custom_api_name：international_assignment_type<br>**示例值**：global_assignment<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`
work_calendar_id_list | string\[\] | 否 | 外派工作日历<br>- 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息<br>- 需要以下权限点之一：<br>- 读取外派工作日历(corehr:employment.international_assignment.work_calendar:read)<br>- 读写外派工作日历(corehr:employment.international_assignment.work_calendar:write)<br>**示例值**：7293840937989473836<br>**数据校验规则**：<br>- 长度范围：`0` ～ `100`

## 响应

### 响应体

名称 | 类型 | 描述
---|---|---
code | int | 错误码，非 0 表示失败
msg | string | 错误描述
data | \- | \-
items | employees.international_assignment\[\] | 外派信息
work_location_id | string | 外派工作地点 ID<br>- 可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派地点(corehr:employment.international_assignment.work_location:read)<br>读写外派地点(corehr:employment.international_assignment.work_location:write)
service_company | string | 外派任职公司 ID<br>- 可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派公司(corehr:employment.international_assignment.service_company:read)<br>读写外派公司(corehr:employment.international_assignment.service_company:write)
work_shift | enum | 排班类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：job_data<br>- custom_api_name：work_shift<br>**字段权限要求（满足任一）**：<br>读取外派排班类型(corehr:employment.international_assignment.work_shift:read)<br>读写外派排班类型(corehr:employment.international_assignment.work_shift:write)
enum_name | string | 枚举值
display | i18n\[\] | 枚举多语展示
lang | string | 语言编码（IETF BCP 47）
value | string | 文本内容
working_hours_type_id | string | 工时制度ID<br>-  可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派工时制度(corehr:employment.international_assignment.working_hours_type:read)<br>读写外派工时制度(corehr:employment.international_assignment.working_hours_type:write)
employee_type_id | string | 人员类型ID<br>- 可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
weekly_working_hours_v2 | number(float) | 周工作时长<br>**字段权限要求（满足任一）**：<br>读取外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:read)<br>读写外派周工作时长(corehr:employment.international_assignment.weekly_working_hours:write)
department_id | string | 部门 ID<br>- 可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息<br>- 类型与 department_id_type 一致
job_id | string | 职务 ID<br>- 可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派职务(corehr:employment.international_assignment.job:read)<br>读写外派职务(corehr:employment.international_assignment.job:write)
job_family_id | string | 序列 ID<br>- 可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派职级(corehr:employment.international_assignment.job_level:read)<br>读写外派职级(corehr:employment.international_assignment.job_level:write)
job_level_id | string | 职级 ID<br>- 可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
job_grade_id | string | 职等 ID<br>- 可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派职等(corehr:employment.international_assignment.job_grade:read)<br>读写外派职等(corehr:employment.international_assignment.job_grade:write)
compensation_type | enum | 薪资类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：job_data<br>- custom_api_name：compensation_type<br>**字段权限要求（满足任一）**：<br>读取外派薪资类型(corehr:employment.international_assignment.compensation_type:read)<br>读写外派薪资类型(corehr:employment.international_assignment.compensation_type:write)
enum_name | string | 枚举值
display | i18n\[\] | 枚举多语展示
lang | string | 语言编码（IETF BCP 47）
value | string | 文本内容
direct_manager_id | string | 直属上级雇佣 ID<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息<br>- 类型与 user_id_type 一致
dotted_line_manager_id | string | 虚线上级雇佣 ID<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息<br>- 类型与 user_id_type 一致
work_calendar_id | string | 工作日历 ID<br>- 可通过[【查询工作日历】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/leave/work_calendar)获取详细信息<br>**字段权限要求（满足任一）**：<br>读取外派工作日历(corehr:employment.international_assignment.work_calendar:read)<br>读写外派工作日历(corehr:employment.international_assignment.work_calendar:write)
position_id | string | 岗位 ID<br>- 尚未支持，预留字段<br>**字段权限要求（满足任一）**：<br>读取外派岗位(corehr:employment.international_assignment.position:read)<br>读写外派岗位(corehr:employment.international_assignment.position:write)
employment_id | string | 雇佣 ID<br>- 可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息<br>- 类型与 user_id_type 一致
custom_fields | object_field_data\[\] | 自定义字段<br>- 请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)<br>**字段权限要求（满足任一）**：<br>读取外派自定义字段(corehr:employment.international_assignment.custom_field:read)<br>读写外派自定义字段(corehr:employment.international_assignment.custom_field:write)
field_name | string | 字段名
value | string | 字段值，是json转义后的字符串，根据元数据定义不同，字段格式不同<br>- 该返回值是将原始值 `json.Marshal` 后返回，使用 `json.Unmarshal` 解析到指定对象即可
international_assignment_reason | string | 外派原因说明
description | string | 备注
international_assignment_expected_end_date | string | 预计结束日期<br>- 格式：yyyy-mm-dd
international_assignment_status | enum | 外派状态<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：international_assignment<br>- custom_api_name：international_assignment_status
enum_name | string | 枚举值
display | i18n\[\] | 枚举多语展示
lang | string | 语言编码（IETF BCP 47）
value | string | 文本内容
international_assignment_type | enum | 外派类型<br>- 可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询，查询参数如下：<br>- object_api_name：international_assignment<br>- custom_api_name：international_assignment_type
enum_name | string | 枚举值
display | i18n\[\] | 枚举多语展示
lang | string | 语言编码（IETF BCP 47）
value | string | 文本内容
effective_time | string | 开始日期<br>- 格式：yyyy-mm-dd
expiration_time | string | 结束日期<br>- 格式：yyyy-mm-dd<br>- 在外派未结束时，该值默认为 9999-12-31
id | string | 外派ID
no_authority_ids | string\[\] | 无权限的雇佣ID<br>- 在指定雇佣ID【employment_ids】查询时该参数生效<br>- 类型与 user_id_type 一致
page_token | string | 分页标记，当 has_more 为 true 时，会同时返回新的 page_token，否则不返回 page_token
has_more | boolean | 是否还有更多项

### 响应体示例
```json
{
    "code": 0,
    "msg": "success",
    "data": {
        "items": [
            {
                "work_location_id": "7127921432117937708",
                "service_company": "7127921432117937708",
                "work_shift": {
                    "enum_name": "phone_type",
                    "display": [
                        {
                            "lang": "zh-CN",
                            "value": "中文示例"
                        }
                    ]
                },
                "working_hours_type_id": "7127921432117937708",
                "employee_type_id": "7127921432117937708",
                "weekly_working_hours_v2": 8,
                "department_id": "7127921432117937708",
                "job_id": "7127921432117937708",
                "job_family_id": "7127921432117937708",
                "job_level_id": "7127921432117937708",
                "job_grade_id": "7127921432117937708",
                "compensation_type": {
                    "enum_name": "phone_type",
                    "display": [
                        {
                            "lang": "zh-CN",
                            "value": "中文示例"
                        }
                    ]
                },
                "direct_manager_id": "7127921432117937708",
                "dotted_line_manager_id": "7127921432117937708",
                "work_calendar_id": "7127921432117937708",
                "position_id": "7127921432117937708",
                "employment_id": "7127921432117937708",
                "custom_fields": [
                    {
                        "field_name": "name",
                        "value": "Sandy"
                    }
                ],
                "international_assignment_reason": "xxx 项目派遣",
                "description": "xxx 项目",
                "international_assignment_expected_end_date": "2024-01-02",
                "international_assignment_status": {
                    "enum_name": "phone_type",
                    "display": [
                        {
                            "lang": "zh-CN",
                            "value": "中文示例"
                        }
                    ]
                },
                "international_assignment_type": {
                    "enum_name": "phone_type",
                    "display": [
                        {
                            "lang": "zh-CN",
                            "value": "中文示例"
                        }
                    ]
                },
                "effective_time": "2024-01-02",
                "expiration_time": "2024-01-02",
                "id": "7127921432117937708"
            }
        ],
        "no_authority_ids": [
            "7127921432117937708"
        ],
        "page_token": "123",
        "has_more": true
    }
}
```

### 错误码

HTTP状态码 | 错误码 | 描述 | 排查建议
---|---|---|---
400 | 1160001 | 参数错误 | 检查参数
500 | 1160002 | 未知错误 | 稍后重试或联系[技术支持](https://applink.feishu.cn/TLJpeNdW)

