| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
JobData.Builder |
assignmentStartReason(Enum assignmentStartReason)
业务类型(原:任职原因);-
可通过[【获取字段详情】](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;- 这里只支持填写"onboarding"
示例值:onboarding
|
JobData |
build() |
JobData.Builder |
compensationType(Enum compensationType)
薪资类型
示例值:
|
JobData.Builder |
costCenterRate(SupportCostCenterItem[] costCenterRate)
成本中心分摊信息
示例值:
|
JobData.Builder |
customFields(ObjectFieldData[] customFields)
自定义字段
示例值:
|
JobData.Builder |
departmentId(String departmentId)
部门
示例值:6890452208593372679
|
JobData.Builder |
directManagerId(String directManagerId)
实线主管的任职记录ID,可通过[【查询单个任职信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_data/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
dottedLineManagerIdList(String[] dottedLineManagerIdList)
虚线主管的任职记录ID,可通过[【查询单个任职信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_data/get);获取详细信息
示例值:
|
JobData.Builder |
effectiveTime(String effectiveTime)
生效时间
示例值:2020-05-01 00:00:00
|
JobData.Builder |
employeeSubtypeId(String employeeSubtypeId)
人员子类型 ID;- 功能灰度中,如有需求请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
示例值:6890452208593372680
|
JobData.Builder |
employeeTypeId(String employeeTypeId)
雇员类型
示例值:6890452208593372679
|
JobData.Builder |
employmentId(String employmentId)
雇佣
ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息;-
与 user_id_type 类型一致
示例值:6893014062142064135
|
JobData.Builder |
expirationTime(String expirationTime)
任职记录版本的失效时间
示例值:2020-05-02 00:00:00
|
JobData.Builder |
id(String id)
任职信息 ID
示例值:6890452208593372679
|
JobData.Builder |
jobDataReason(Enum jobDataReason)
任职原因;-
可通过[【获取字段详情】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口查询,查询参数如下:;
- object_api_name = "job_data"; - custom_api_name = "job_data_reason"
示例值:
|
JobData.Builder |
jobFamilyId(String jobFamilyId)
序列
ID,可通过;[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get);获取详细信息
示例值:1245678
|
JobData.Builder |
jobGradeId(String jobGradeId)
职等
ID,可通过[【查询职等】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/job_grade/query);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
jobId(String jobId)
职务
ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
jobLevelId(String jobLevelId)
职务级别
ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
pathwayId(String pathwayId)
通道 ID
示例值:6890452208593372671
|
JobData.Builder |
positionId(String positionId)
岗位 ID;- 功能灰度中,如有需求请联系[技术支持](https://applink.feishu.cn/TLJpeNdW)
示例值:6890452208593372679
|
JobData.Builder |
primaryJobData(Boolean primaryJobData)
主任职
示例值:true
|
JobData.Builder |
probationEndDate(String probationEndDate)
试用期结束日期(实际结束日期)
示例值:2019-05-24
|
JobData.Builder |
probationExpectedEndDate(String probationExpectedEndDate)
预计试用期结束日期
示例值:2006-01-02
|
JobData.Builder |
probationOutcome(Enum probationOutcome)
试用期结果
示例值:passed
|
JobData.Builder |
probationStartDate(String probationStartDate)
试用期开始日期
示例值:2018-03-16
|
JobData.Builder |
secondDirectManagerId(String secondDirectManagerId)
第二实线主管的任职记录ID,可通过[【查询单个任职信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_data/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
serviceCompany(String serviceCompany)
任职公司,枚举值及详细信息可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)接口查询获得
示例值:6890452208593372680
|
JobData.Builder |
versionId(String versionId)
任职记录版本 ID
示例值:6890452208593372697
|
JobData.Builder |
weeklyWorkingHours(Integer weeklyWorkingHours)
周工作时长
示例值:30
|
JobData.Builder |
weeklyWorkingHoursV2(Double weeklyWorkingHoursV2)
周工作时长v2
示例值:37.5
|
JobData.Builder |
workCalendarId(String workCalendarId)
工作日历 ID
示例值:6969087376740236087
|
JobData.Builder |
workingHoursTypeId(String workingHoursTypeId)
工时制度
ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
workLocationId(String workLocationId)
工作地点
ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get);获取详细信息
示例值:6890452208593372679
|
JobData.Builder |
workShift(Enum workShift)
排班类型
示例值:
|
public JobData.Builder id(String id)
示例值:6890452208593372679
id - public JobData.Builder versionId(String versionId)
示例值:6890452208593372697
versionId - public JobData.Builder jobLevelId(String jobLevelId)
示例值:6890452208593372679
jobLevelId - public JobData.Builder jobGradeId(String jobGradeId)
示例值:6890452208593372679
jobGradeId - public JobData.Builder employeeTypeId(String employeeTypeId)
示例值:6890452208593372679
employeeTypeId - public JobData.Builder workingHoursTypeId(String workingHoursTypeId)
示例值:6890452208593372679
workingHoursTypeId - public JobData.Builder workLocationId(String workLocationId)
示例值:6890452208593372679
workLocationId - public JobData.Builder departmentId(String departmentId)
示例值:6890452208593372679
departmentId - public JobData.Builder jobId(String jobId)
示例值:6890452208593372679
jobId - public JobData.Builder probationStartDate(String probationStartDate)
示例值:2018-03-16
probationStartDate - public JobData.Builder probationEndDate(String probationEndDate)
示例值:2019-05-24
probationEndDate - public JobData.Builder primaryJobData(Boolean primaryJobData)
示例值:true
primaryJobData - public JobData.Builder employmentId(String employmentId)
示例值:6893014062142064135
employmentId - public JobData.Builder effectiveTime(String effectiveTime)
示例值:2020-05-01 00:00:00
effectiveTime - public JobData.Builder expirationTime(String expirationTime)
示例值:2020-05-02 00:00:00
expirationTime - public JobData.Builder jobFamilyId(String jobFamilyId)
示例值:1245678
jobFamilyId - public JobData.Builder assignmentStartReason(Enum assignmentStartReason)
示例值:onboarding
assignmentStartReason - public JobData.Builder probationExpectedEndDate(String probationExpectedEndDate)
示例值:2006-01-02
probationExpectedEndDate - public JobData.Builder probationOutcome(Enum probationOutcome)
示例值:passed
probationOutcome - public JobData.Builder weeklyWorkingHours(Integer weeklyWorkingHours)
示例值:30
weeklyWorkingHours - public JobData.Builder directManagerId(String directManagerId)
示例值:6890452208593372679
directManagerId - public JobData.Builder dottedLineManagerIdList(String[] dottedLineManagerIdList)
示例值:
dottedLineManagerIdList - public JobData.Builder secondDirectManagerId(String secondDirectManagerId)
示例值:6890452208593372679
secondDirectManagerId - public JobData.Builder costCenterRate(SupportCostCenterItem[] costCenterRate)
示例值:
costCenterRate - public JobData.Builder customFields(ObjectFieldData[] customFields)
示例值:
customFields - public JobData.Builder weeklyWorkingHoursV2(Double weeklyWorkingHoursV2)
示例值:37.5
weeklyWorkingHoursV2 - public JobData.Builder workShift(Enum workShift)
示例值:
workShift - public JobData.Builder compensationType(Enum compensationType)
示例值:
compensationType - public JobData.Builder serviceCompany(String serviceCompany)
示例值:6890452208593372680
serviceCompany - public JobData.Builder employeeSubtypeId(String employeeSubtypeId)
示例值:6890452208593372680
employeeSubtypeId - public JobData.Builder positionId(String positionId)
示例值:6890452208593372679
positionId - public JobData.Builder pathwayId(String pathwayId)
示例值:6890452208593372671
pathwayId - public JobData.Builder jobDataReason(Enum jobDataReason)
示例值:
jobDataReason - public JobData.Builder workCalendarId(String workCalendarId)
示例值:6969087376740236087
workCalendarId - public JobData build()
Copyright © 2026. All rights reserved.