public static class CalendarService.CalendarEvent extends Object
| 构造器和说明 |
|---|
CalendarEvent(Config config) |
public CalendarEvent(Config config)
public CreateCalendarEventResp create(CreateCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/create ;
Exceptionpublic CreateCalendarEventResp create(CreateCalendarEventReq req) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/create ;
Exceptionpublic DeleteCalendarEventResp delete(DeleteCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。;;当前身份必须是日程的组织者。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/delete ;
Exceptionpublic DeleteCalendarEventResp delete(DeleteCalendarEventReq req) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。;;当前身份必须是日程的组织者。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/delete ;
Exceptionpublic GetCalendarEventResp get(GetCalendarEventReq req, RequestOptions reqOptions) throws Exception
- 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;- [例外日程](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction#71c5ec78)可通过event_id的非0时间戳后缀,来获取修改的重复性日程的哪一天日程的时间信息。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/get ;
Exceptionpublic GetCalendarEventResp get(GetCalendarEventReq req) throws Exception
- 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;- [例外日程](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction#71c5ec78)可通过event_id的非0时间戳后缀,来获取修改的重复性日程的哪一天日程的时间信息。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/get ;
Exceptionpublic ListCalendarEventResp list(ListCalendarEventReq req, RequestOptions reqOptions) throws Exception
- 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;;- 仅支持primary、shared和resource类型的日历获取日程列表。;;- page_token 分页拉取存量数据,sync_token 增量同步变更数据;目前仅传anchor_time时,会返回page_token。;;- 为了确保调用方日程同步数据的一致性,在使用sync_token时,不能同时使用start_time和end_time,否则可能造成日程数据缺失。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/list ;
Exceptionpublic ListCalendarEventResp list(ListCalendarEventReq req) throws Exception
- 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;;- 仅支持primary、shared和resource类型的日历获取日程列表。;;- page_token 分页拉取存量数据,sync_token 增量同步变更数据;目前仅传anchor_time时,会返回page_token。;;- 为了确保调用方日程同步数据的一致性,在使用sync_token时,不能同时使用start_time和end_time,否则可能造成日程数据缺失。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/list ;
Exceptionpublic PatchCalendarEventResp patch(PatchCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。;;当前身份为日程组织者时,可修改所有可编辑字段。;;当前身份为日程参与者时,仅可编辑部分字段。(如:visibility, free_busy_status, color, reminders) ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/patch ;
Exceptionpublic PatchCalendarEventResp patch(PatchCalendarEventReq req) throws Exception
当前身份必须对日历有 writer 或 owner 权限,并且日历的类型只能为 primary 或 shared。;;当前身份为日程组织者时,可修改所有可编辑字段。;;当前身份为日程参与者时,仅可编辑部分字段。(如:visibility, free_busy_status, color, reminders) ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/patch ;
Exceptionpublic SearchCalendarEventResp search(SearchCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/search ;
Exceptionpublic SearchCalendarEventResp search(SearchCalendarEventReq req) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/search ;
Exceptionpublic SubscriptionCalendarEventResp subscription(SubscriptionCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/subscription ;
Exceptionpublic SubscriptionCalendarEventResp subscription(SubscriptionCalendarEventReq req) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/subscription ;
Exceptionpublic UnsubscriptionCalendarEventResp unsubscription(UnsubscriptionCalendarEventReq req, RequestOptions reqOptions) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/unsubscription ;
Exceptionpublic UnsubscriptionCalendarEventResp unsubscription(UnsubscriptionCalendarEventReq req) throws Exception
当前身份必须对日历有reader、writer或owner权限(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。 ;
官网API文档链接:https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/unsubscription ;
ExceptionCopyright © 2022. All rights reserved.