public class Person extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreatePersonResp |
create(CreatePersonReq req)
创建个人信息,创建人员的个人信息。
|
CreatePersonResp |
create(CreatePersonReq req,
RequestOptions reqOptions)
创建个人信息,创建人员的个人信息。
|
DeletePersonResp |
delete(DeletePersonReq req)
删除个人信息,删除人员的个人信息。
|
DeletePersonResp |
delete(DeletePersonReq req,
RequestOptions reqOptions)
删除个人信息,删除人员的个人信息。
|
GetPersonResp |
get(GetPersonReq req)
查询单个个人信息,根据 ID 查询单个人员的个人信息。
|
GetPersonResp |
get(GetPersonReq req,
RequestOptions reqOptions)
查询单个个人信息,根据 ID 查询单个人员的个人信息。
|
PatchPersonResp |
patch(PatchPersonReq req)
更新个人信息,更新个人信息。
|
PatchPersonResp |
patch(PatchPersonReq req,
RequestOptions reqOptions)
更新个人信息,更新个人信息。
|
UploadPersonResp |
upload(UploadPersonReq req)
上传文件,上传文件。
|
UploadPersonResp |
upload(UploadPersonReq req,
RequestOptions reqOptions)
上传文件,上传文件。
|
public Person(Config config)
public CreatePersonResp create(CreatePersonReq req, RequestOptions reqOptions) throws Exception
接口已升级,推荐使用:[创建个人信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/person/create) ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=person&version=v1 ;
Exceptionpublic CreatePersonResp create(CreatePersonReq req) throws Exception
接口已升级,推荐使用:[创建个人信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/person/create) ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=person&version=v1 ;
Exceptionpublic DeletePersonResp delete(DeletePersonReq req, RequestOptions reqOptions) throws Exception
删除后无法恢复, 并且在系统中无法查询到对应个人信息,请谨慎操作。;;删除个人信息前,请先删除与其相关联的全部个人附加信息。;;可通过[【批量查询个人附加信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/person_info_chn/list)接口查询全部个人附加信息,并通过[【删除个人附加信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/person_info_chn/delete)接口删除 ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=person&version=v1 ;
Exceptionpublic DeletePersonResp delete(DeletePersonReq req) throws Exception
删除后无法恢复, 并且在系统中无法查询到对应个人信息,请谨慎操作。;;删除个人信息前,请先删除与其相关联的全部个人附加信息。;;可通过[【批量查询个人附加信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/person_info_chn/list)接口查询全部个人附加信息,并通过[【删除个人附加信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/person_info_chn/delete)接口删除 ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=person&version=v1 ;
Exceptionpublic GetPersonResp get(GetPersonReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=corehr&resource=person&version=v1 ;
Exceptionpublic GetPersonResp get(GetPersonReq req) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=corehr&resource=person&version=v1 ;
Exceptionpublic PatchPersonResp patch(PatchPersonReq req, RequestOptions reqOptions) throws Exception
接口已升级,推荐使用:[更新个人信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/person/patch) ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=person&version=v1 ;
Exceptionpublic PatchPersonResp patch(PatchPersonReq req) throws Exception
接口已升级,推荐使用:[更新个人信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/person/patch) ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=person&version=v1 ;
Exceptionpublic UploadPersonResp upload(UploadPersonReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=upload&project=corehr&resource=person&version=v1 ;
Exceptionpublic UploadPersonResp upload(UploadPersonReq req) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=upload&project=corehr&resource=person&version=v1 ;
ExceptionCopyright © 2026. All rights reserved.