public static class BatchGetEmployeesJobDataReqBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchGetEmployeesJobDataReqBody.Builder |
assignmentStartReasons(String[] assignmentStartReasons)
业务类型(原:任职原因);-
可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:;
- object_api_name:job_data; - custom_api_name:assignment_start_reason
示例值:
|
BatchGetEmployeesJobDataReqBody |
build() |
BatchGetEmployeesJobDataReqBody.Builder |
dataDate(String dataDate)
查询该日期前生效的所有job data,如果传了get_all_version=true,则该字段不生效;- 不传默认为当天
示例值:2020-01-01
|
BatchGetEmployeesJobDataReqBody.Builder |
effectiveDateEnd(String effectiveDateEnd)
生效日期 - 搜索范围结束;- 默认为空
示例值:2020-01-01
|
BatchGetEmployeesJobDataReqBody.Builder |
effectiveDateStart(String effectiveDateStart)
生效日期 - 搜索范围开始;- 默认为空
示例值:2020-01-01
|
BatchGetEmployeesJobDataReqBody.Builder |
employmentIds(String[] employmentIds)
员工雇佣 ID
列表,可通过[【搜索员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/search)获取;;-
应与 user_id_type 类型一致
示例值:
|
BatchGetEmployeesJobDataReqBody.Builder |
getAllVersion(Boolean getAllVersion)
是否获取所有版本的任职记录;- true 为获取员工所有版本的任职记录;- false 为仅获取当前生效的任职记录;- 默认为 false
示例值:false
|
BatchGetEmployeesJobDataReqBody.Builder |
primaryJobData(Boolean primaryJobData)
是否仅查询主职;- true:仅返回 primary_job_data 为 true 的任职记录;- false:仅返回 primary_job_data 为 false 的任职记录;-
不传:返回全部
示例值:true
|
public BatchGetEmployeesJobDataReqBody.Builder employmentIds(String[] employmentIds)
示例值:
employmentIds - public BatchGetEmployeesJobDataReqBody.Builder getAllVersion(Boolean getAllVersion)
示例值:false
getAllVersion - public BatchGetEmployeesJobDataReqBody.Builder effectiveDateStart(String effectiveDateStart)
示例值:2020-01-01
effectiveDateStart - public BatchGetEmployeesJobDataReqBody.Builder effectiveDateEnd(String effectiveDateEnd)
示例值:2020-01-01
effectiveDateEnd - public BatchGetEmployeesJobDataReqBody.Builder dataDate(String dataDate)
示例值:2020-01-01
dataDate - public BatchGetEmployeesJobDataReqBody.Builder primaryJobData(Boolean primaryJobData)
示例值:true
primaryJobData - public BatchGetEmployeesJobDataReqBody.Builder assignmentStartReasons(String[] assignmentStartReasons)
示例值:
assignmentStartReasons - public BatchGetEmployeesJobDataReqBody build()
Copyright © 2026. All rights reserved.