public class Period extends Object
Period(Config config)
CreatePeriodResp
create(CreatePeriodReq req)
create(CreatePeriodReq req, RequestOptions reqOptions)
ListPeriodResp
list(ListPeriodReq req)
list(ListPeriodReq req, RequestOptions reqOptions)
PatchPeriodResp
patch(PatchPeriodReq req)
patch(PatchPeriodReq req, RequestOptions reqOptions)
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Period(Config config)
public CreatePeriodResp create(CreatePeriodReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=okr&resource=period&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/okrv1/CreatePeriodSample.java ;
Exception
public CreatePeriodResp create(CreatePeriodReq req) throws Exception
public ListPeriodResp list(ListPeriodReq req, RequestOptions reqOptions) throws Exception
使用tenant_access_token需要额外申请权限以应用身份访问OKR信息 ;
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=okr&resource=period&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/okrv1/ListPeriodSample.java ;
public ListPeriodResp list(ListPeriodReq req) throws Exception
public PatchPeriodResp patch(PatchPeriodReq req, RequestOptions reqOptions) throws Exception
官网API文档链接:https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=okr&resource=period&version=v1 ;
使用Demo链接: https://github.com/larksuite/oapi-sdk-java/tree/v2_main/sample/src/main/java/com/lark/oapi/sample/apiall/okrv1/PatchPeriodSample.java ;
public PatchPeriodResp patch(PatchPeriodReq req) throws Exception
Copyright © 2026. All rights reserved.