public class Department extends Object
Department(Config config)
CreateDepartmentResp
create(CreateDepartmentReq req)
create(CreateDepartmentReq req, RequestOptions reqOptions)
DeleteDepartmentResp
delete(DeleteDepartmentReq req)
delete(DeleteDepartmentReq req, RequestOptions reqOptions)
FilterDepartmentResp
filter(FilterDepartmentReq req)
filter(FilterDepartmentReq req, RequestOptions reqOptions)
MgetDepartmentResp
mget(MgetDepartmentReq req)
mget(MgetDepartmentReq req, RequestOptions reqOptions)
PatchDepartmentResp
patch(PatchDepartmentReq req)
patch(PatchDepartmentReq req, RequestOptions reqOptions)
SearchDepartmentResp
search(SearchDepartmentReq req)
search(SearchDepartmentReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Department(Config config)
public CreateDepartmentResp create(CreateDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/CreateDepartmentSample.java ;
Exception
public CreateDepartmentResp create(CreateDepartmentReq 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=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/DeleteDepartmentSample.java ;
public DeleteDepartmentResp delete(DeleteDepartmentReq req) throws Exception
public FilterDepartmentResp filter(FilterDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=filter&project=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/FilterDepartmentSample.java ;
public FilterDepartmentResp filter(FilterDepartmentReq req) throws Exception
public MgetDepartmentResp mget(MgetDepartmentReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=mget&project=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/MgetDepartmentSample.java ;
public MgetDepartmentResp mget(MgetDepartmentReq 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=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/PatchDepartmentSample.java ;
public PatchDepartmentResp patch(PatchDepartmentReq 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=directory&resource=department&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/directoryv1/SearchDepartmentSample.java ;
public SearchDepartmentResp search(SearchDepartmentReq req) throws Exception
Copyright © 2025. All rights reserved.