public class CostAllocation extends Object
CostAllocation(Config config)
BatchQueryCostAllocationResp
batchQuery(BatchQueryCostAllocationReq req)
batchQuery(BatchQueryCostAllocationReq req, RequestOptions reqOptions)
CreateVersionCostAllocationResp
createVersion(CreateVersionCostAllocationReq req)
createVersion(CreateVersionCostAllocationReq req, RequestOptions reqOptions)
RemoveVersionCostAllocationResp
removeVersion(RemoveVersionCostAllocationReq req)
removeVersion(RemoveVersionCostAllocationReq req, RequestOptions reqOptions)
UpdateVersionCostAllocationResp
updateVersion(UpdateVersionCostAllocationReq req)
updateVersion(UpdateVersionCostAllocationReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public CostAllocation(Config config)
public BatchQueryCostAllocationResp batchQuery(BatchQueryCostAllocationReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_query&project=corehr&resource=cost_allocation&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/BatchQueryCostAllocationSample.java ;
Exception
public BatchQueryCostAllocationResp batchQuery(BatchQueryCostAllocationReq req) throws Exception
public CreateVersionCostAllocationResp createVersion(CreateVersionCostAllocationReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create_version&project=corehr&resource=cost_allocation&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/CreateVersionCostAllocationSample.java ;
public CreateVersionCostAllocationResp createVersion(CreateVersionCostAllocationReq req) throws Exception
public RemoveVersionCostAllocationResp removeVersion(RemoveVersionCostAllocationReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=remove_version&project=corehr&resource=cost_allocation&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/RemoveVersionCostAllocationSample.java ;
public RemoveVersionCostAllocationResp removeVersion(RemoveVersionCostAllocationReq req) throws Exception
public UpdateVersionCostAllocationResp updateVersion(UpdateVersionCostAllocationReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update_version&project=corehr&resource=cost_allocation&version=v2 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/corehrv2/UpdateVersionCostAllocationSample.java ;
public UpdateVersionCostAllocationResp updateVersion(UpdateVersionCostAllocationReq req) throws Exception
Copyright © 2025. All rights reserved.