public class CostCenter extends Object
CostCenter(Config config)
CreateCostCenterResp
create(CreateCostCenterReq req)
create(CreateCostCenterReq req, RequestOptions reqOptions)
DeleteCostCenterResp
delete(DeleteCostCenterReq req)
delete(DeleteCostCenterReq req, RequestOptions reqOptions)
PatchCostCenterResp
patch(PatchCostCenterReq req)
patch(PatchCostCenterReq req, RequestOptions reqOptions)
SearchCostCenterResp
search(SearchCostCenterReq req)
search(SearchCostCenterReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CostCenter(Config config)
public CreateCostCenterResp create(CreateCostCenterReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=corehr&resource=cost_center&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/CreateCostCenterSample.java ;
Exception
public CreateCostCenterResp create(CreateCostCenterReq req) throws Exception
public DeleteCostCenterResp delete(DeleteCostCenterReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=corehr&resource=cost_center&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/DeleteCostCenterSample.java ;
public DeleteCostCenterResp delete(DeleteCostCenterReq req) throws Exception
public PatchCostCenterResp patch(PatchCostCenterReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=corehr&resource=cost_center&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/PatchCostCenterSample.java ;
public PatchCostCenterResp patch(PatchCostCenterReq req) throws Exception
public SearchCostCenterResp search(SearchCostCenterReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=corehr&resource=cost_center&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/SearchCostCenterSample.java ;
public SearchCostCenterResp search(SearchCostCenterReq req) throws Exception
Copyright © 2025. All rights reserved.