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)
查看数据日期,默认为今天
示例值: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 列表
示例值:
|
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 © 2025. All rights reserved.