|
1 | 1 | package me.chanjar.weixin.cp.api;
|
2 | 2 |
|
3 | 3 | import me.chanjar.weixin.common.error.WxErrorException;
|
4 |
| -import me.chanjar.weixin.cp.bean.oa.meetingroom.WxCpOaMeetingRoom; |
| 4 | +import me.chanjar.weixin.cp.bean.oa.meetingroom.*; |
5 | 5 |
|
6 | 6 | import java.util.List;
|
7 | 7 |
|
@@ -59,17 +59,110 @@ public interface WxCpOaMeetingRoomService {
|
59 | 59 | void editMeetingRoom(WxCpOaMeetingRoom meetingRoom) throws WxErrorException;
|
60 | 60 |
|
61 | 61 | /**
|
62 |
| - * 编辑会议室. |
| 62 | + * 删除会议室. |
63 | 63 | * <pre>
|
64 |
| - * 该接口用于通过应用在企业内编辑会议室。 |
| 64 | + * 企业可通过此接口删除指定的会议室。 |
65 | 65 | * 请求方式: POST(HTTPS)
|
66 | 66 | * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/del?access_token=ACCESS_TOKEN
|
67 | 67 | *
|
68 | 68 | * 文档地址:https://developer.work.weixin.qq.com/document/path/93619
|
69 | 69 | * </pre>
|
70 | 70 | *
|
71 |
| - * @param meetingRoomId 会议室对象 |
| 71 | + * @param meetingRoomId 会议室ID |
72 | 72 | * @throws WxErrorException .
|
73 | 73 | */
|
74 | 74 | void deleteMeetingRoom(Integer meetingRoomId) throws WxErrorException;
|
| 75 | + |
| 76 | + /** |
| 77 | + * 查询会议室的预定信息. |
| 78 | + * <pre> |
| 79 | + * 企业可通过此接口查询相关会议室在指定时间段的预定情况,如是否已被预定,预定者的userid等信息,不支持跨天查询。 |
| 80 | + * 请求方式: POST(HTTPS) |
| 81 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/get_booking_info?access_token=ACCESS_TOKEN |
| 82 | + * |
| 83 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 84 | + * </pre> |
| 85 | + * |
| 86 | + * @param wxCpOaMeetingRoomBookingInfoRequest 会议室预定信息查询对象 |
| 87 | + * @throws WxErrorException . |
| 88 | + */ |
| 89 | + WxCpOaMeetingRoomBookingInfoResult getMeetingRoomBookingInfo(WxCpOaMeetingRoomBookingInfoRequest wxCpOaMeetingRoomBookingInfoRequest) throws WxErrorException; |
| 90 | + |
| 91 | + /** |
| 92 | + * 预定会议室. |
| 93 | + * <pre> |
| 94 | + * 企业可通过此接口预定会议室并自动关联日程。 |
| 95 | + * 请求方式: POST(HTTPS) |
| 96 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/book?access_token=ACCESS_TOKEN |
| 97 | + * |
| 98 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 99 | + * </pre> |
| 100 | + * |
| 101 | + * @param wxCpOaMeetingRoomBookRequest 会议室预定对象 |
| 102 | + * @throws WxErrorException . |
| 103 | + */ |
| 104 | + WxCpOaMeetingRoomBookResult bookingMeetingRoom(WxCpOaMeetingRoomBookRequest wxCpOaMeetingRoomBookRequest) throws WxErrorException; |
| 105 | + |
| 106 | + /** |
| 107 | + * 通过日程预定会议室. |
| 108 | + * <pre> |
| 109 | + * 企业可通过此接口为指定日程预定会议室,支持重复日程预定。 |
| 110 | + * 请求方式: POST(HTTPS) |
| 111 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/book_by_schedule?access_token=ACCESS_TOKEN |
| 112 | + * |
| 113 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 114 | + * </pre> |
| 115 | + * |
| 116 | + * @param wxCpOaMeetingRoomBookByScheduleRequest 会议室预定对象 |
| 117 | + * @throws WxErrorException . |
| 118 | + */ |
| 119 | + WxCpOaMeetingRoomBookResult bookingMeetingRoomBySchedule(WxCpOaMeetingRoomBookByScheduleRequest wxCpOaMeetingRoomBookByScheduleRequest) throws WxErrorException; |
| 120 | + |
| 121 | + /** |
| 122 | + * 通过会议预定会议室. |
| 123 | + * <pre> |
| 124 | + * 企业可通过此接口为指定会议预定会议室,支持重复会议预定。 |
| 125 | + * 请求方式: POST(HTTPS) |
| 126 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/book_by_meeting?access_token=ACCESS_TOKEN |
| 127 | + * |
| 128 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 129 | + * </pre> |
| 130 | + * |
| 131 | + * @param wxCpOaMeetingRoomBookByMeetingRequest 会议室预定对象 |
| 132 | + * @throws WxErrorException . |
| 133 | + */ |
| 134 | + WxCpOaMeetingRoomBookResult bookingMeetingRoomByMeeting(WxCpOaMeetingRoomBookByMeetingRequest wxCpOaMeetingRoomBookByMeetingRequest) throws WxErrorException; |
| 135 | + |
| 136 | + |
| 137 | + /** |
| 138 | + * 取消预定会议室. |
| 139 | + * <pre> |
| 140 | + * 企业可通过此接口取消会议室的预定 |
| 141 | + * 请求方式: POST(HTTPS) |
| 142 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/cancel_book?access_token=ACCESS_TOKEN |
| 143 | + * |
| 144 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 145 | + * </pre> |
| 146 | + * |
| 147 | + * @param wxCpOaMeetingRoomCancelBookRequest 取消预定会议室对象 |
| 148 | + * @throws WxErrorException . |
| 149 | + */ |
| 150 | + void cancelBookMeetingRoom(WxCpOaMeetingRoomCancelBookRequest wxCpOaMeetingRoomCancelBookRequest) throws WxErrorException; |
| 151 | + |
| 152 | + |
| 153 | + /** |
| 154 | + * 根据会议室预定ID查询预定详情. |
| 155 | + * <pre> |
| 156 | + * 企业可通过此接口根据预定id查询相关会议室的预定情况 |
| 157 | + * 请求方式: POST(HTTPS) |
| 158 | + * 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/bookinfo/get?access_token=ACCESS_TOKEN |
| 159 | + * |
| 160 | + * 文档地址:https://developer.work.weixin.qq.com/document/path/93620 |
| 161 | + * </pre> |
| 162 | + * |
| 163 | + * @param wxCpOaMeetingRoomBookingInfoByBookingIdRequest 根据会议室预定ID查询预定详情对象 |
| 164 | + * @throws WxErrorException . |
| 165 | + */ |
| 166 | + WxCpOaMeetingRoomBookingInfoByBookingIdResult getBookingInfoByBookingId(WxCpOaMeetingRoomBookingInfoByBookingIdRequest wxCpOaMeetingRoomBookingInfoByBookingIdRequest) throws WxErrorException; |
| 167 | + |
75 | 168 | }
|
0 commit comments