|
5 | 5 | - [addEvent](#addevent)
|
6 | 6 | - [updateEvent](#updateevent)
|
7 | 7 | - [deleteEvent](#deleteevent)
|
| 8 | +- [searchAvailableTimes](#searchavailabletimes) |
8 | 9 |
|
9 | 10 | ## Overview
|
10 | 11 |
|
@@ -198,3 +199,32 @@ See the example response in the `Reference`.
|
198 | 199 | #### Reference
|
199 | 200 |
|
200 | 201 | - https://developer.cybozu.io/hc/ja/articles/360000393866
|
| 202 | + |
| 203 | +### searchAvailableTimes |
| 204 | + |
| 205 | +Search available times of users, organizations and facilities. |
| 206 | + |
| 207 | +#### Parameters |
| 208 | + |
| 209 | +| Name | Type | Required | Description | |
| 210 | +| ----------------------- | :--------------: | :-------------------------: | ------------------------------------------------------------------------------------------ | |
| 211 | +| timeRanges | Array\<Object\> | Yes | The list of search time ranges. | |
| 212 | +| timeRanges[].start | String | Yes | The start datetime of the time range. The format is RFC3339. (e.g. `2020-01-01T00:00:00Z`) | |
| 213 | +| timeRanges[].end | String | Yes | The end datetime of the time range. The format is RFC3339. (e.g. `2020-01-01T00:00:00Z`) | |
| 214 | +| timeInterval | number | Yes | The search time interval. | |
| 215 | +| attendees | Array\<Object\> | Conditionally<br />Required | The list of attendees. Required if `facilities` is not specified. | |
| 216 | +| attendees[].type | String | Yes | The attendee type. Possible values are `ORGANIZATION`, `USER`. | |
| 217 | +| attendees[].id | Number or String | Conditionally<br />Required | The ID of the attendee. Required if `attendees[].code` is not specified. | |
| 218 | +| attendees[].code | String | Conditionally<br />Required | The code of the attendee. Required if `attendees[].id` is not specified. | |
| 219 | +| facilities | Array\<Object\> | Conditionally<br />Required | The list of facilities. Required if `attendees` is not specified. | |
| 220 | +| facilities[].id | Number or String | Conditionally<br />Required | The ID of the facility. Required if `facilities[].code` is not specified. | |
| 221 | +| facilities[].code | String | Conditionally<br />Required | The code of the facility. Required if `facilities[].id` is not specified. | |
| 222 | +| facilitySearchCondition | String | | The facility search condition. Possible values are `AND`, `OR`. | |
| 223 | + |
| 224 | +#### Returns |
| 225 | + |
| 226 | +See the example response in the `Reference`. |
| 227 | + |
| 228 | +#### Reference |
| 229 | + |
| 230 | +- https://developer.cybozu.io/hc/ja/articles/360018417771#step1 |
0 commit comments