public class Department extends Object
Department(Config config)
BatchGetDepartmentResp
batchGet(BatchGetDepartmentReq req)
batchGet(BatchGetDepartmentReq req, RequestOptions reqOptions)
DeleteDepartmentResp
delete(DeleteDepartmentReq req)
delete(DeleteDepartmentReq req, RequestOptions reqOptions)
ParentsDepartmentResp
parents(ParentsDepartmentReq req)
parents(ParentsDepartmentReq req, RequestOptions reqOptions)
PatchDepartmentResp
patch(PatchDepartmentReq req)
patch(PatchDepartmentReq req, RequestOptions reqOptions)
QueryMultiTimelineDepartmentResp
queryMultiTimeline(QueryMultiTimelineDepartmentReq req)
queryMultiTimeline(QueryMultiTimelineDepartmentReq req, RequestOptions reqOptions)
QueryOperationLogsDepartmentResp
queryOperationLogs(QueryOperationLogsDepartmentReq req)
queryOperationLogs(QueryOperationLogsDepartmentReq req, RequestOptions reqOptions)
QueryRecentChangeDepartmentResp
queryRecentChange(QueryRecentChangeDepartmentReq req)
queryRecentChange(QueryRecentChangeDepartmentReq req, RequestOptions reqOptions)
QueryTimelineDepartmentResp
queryTimeline(QueryTimelineDepartmentReq req)
queryTimeline(QueryTimelineDepartmentReq req, RequestOptions reqOptions)
SearchDepartmentResp
search(SearchDepartmentReq req)
search(SearchDepartmentReq req, RequestOptions reqOptions)
TreeDepartmentResp
tree(TreeDepartmentReq req)
tree(TreeDepartmentReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Department(Config config)
public BatchGetDepartmentResp batchGet(BatchGetDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_get&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/BatchGetDepartmentSample.java ;
Exception
public BatchGetDepartmentResp batchGet(BatchGetDepartmentReq req) throws Exception
public DeleteDepartmentResp delete(DeleteDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/DeleteDepartmentSample.java ;
public DeleteDepartmentResp delete(DeleteDepartmentReq req) throws Exception
public ParentsDepartmentResp parents(ParentsDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=parents&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/ParentsDepartmentSample.java ;
public ParentsDepartmentResp parents(ParentsDepartmentReq req) throws Exception
public PatchDepartmentResp patch(PatchDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/PatchDepartmentSample.java ;
public PatchDepartmentResp patch(PatchDepartmentReq req) throws Exception
public QueryMultiTimelineDepartmentResp queryMultiTimeline(QueryMultiTimelineDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_multi_timeline&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/QueryMultiTimelineDepartmentSample.java ;
public QueryMultiTimelineDepartmentResp queryMultiTimeline(QueryMultiTimelineDepartmentReq req) throws Exception
public QueryOperationLogsDepartmentResp queryOperationLogs(QueryOperationLogsDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_operation_logs&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/QueryOperationLogsDepartmentSample.java ;
public QueryOperationLogsDepartmentResp queryOperationLogs(QueryOperationLogsDepartmentReq req) throws Exception
public QueryRecentChangeDepartmentResp queryRecentChange(QueryRecentChangeDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_recent_change&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/QueryRecentChangeDepartmentSample.java ;
public QueryRecentChangeDepartmentResp queryRecentChange(QueryRecentChangeDepartmentReq req) throws Exception
public QueryTimelineDepartmentResp queryTimeline(QueryTimelineDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query_timeline&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/QueryTimelineDepartmentSample.java ;
public QueryTimelineDepartmentResp queryTimeline(QueryTimelineDepartmentReq req) throws Exception
public SearchDepartmentResp search(SearchDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/SearchDepartmentSample.java ;
public SearchDepartmentResp search(SearchDepartmentReq req) throws Exception
public TreeDepartmentResp tree(TreeDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=tree&project=corehr&resource=department&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/TreeDepartmentSample.java ;
public TreeDepartmentResp tree(TreeDepartmentReq req) throws Exception
Copyright © 2025. All rights reserved.