public class Department extends Object
Department(Config config)
BatchGetDepartmentResp
batchGet(BatchGetDepartmentReq req)
batchGet(BatchGetDepartmentReq req, RequestOptions reqOptions)
ParentsDepartmentResp
parents(ParentsDepartmentReq req)
parents(ParentsDepartmentReq req, RequestOptions reqOptions)
QueryTimelineDepartmentResp
queryTimeline(QueryTimelineDepartmentReq req)
queryTimeline(QueryTimelineDepartmentReq 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 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 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 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
Copyright © 2024. All rights reserved.