You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/schedule.md
+58-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
-[getEvent](#getevent)
4
4
-[getEvents](#getevents)
5
+
-[addEvent](#addevent)
5
6
6
7
## Overview
7
8
@@ -56,7 +57,7 @@ Get events by specifying conditions.
56
57
| orderBy.order | String | Yes | The sort order. Possible values are: `asc`, `desc`. If nothing is specified, it will default to `asc`. |
57
58
| rangeStart | String || The start datetime for the search. The format is RFC3339. (e.g. `2020-01-01T00:00:00Z`)<br />If `rangeEnd` is specified, `rangeStart` must be before the `rangeEnd`. |
58
59
| rangeEnd | String || The end datetime for the search. The format is RFC3339. (e.g. `2020-01-01T00:00:00Z`)<br />If `rangeStart` is specified, `rangeEnd` must be later than `rangeStart`. |
59
-
| target | Number or String | Conditionally<br />Required | The ID of an user or an organization or a facility. Required if `targetType` is specified. If nothing is specified, it will default to the login user ID. |
60
+
| target | Number or String | Conditionally<br />Required | The ID of the target. Required if `targetType` is specified. If nothing is specified, it will default to the login user ID.|
60
61
| targetType | String | Conditionally<br />Required | The target type. Possible values are: `user`, `organization`, `facility`. Required if `target` is specified. If nothing is specified, it will default to `user`. |
61
62
| keyword | String | Conditionally<br />Required | The search keyword. The keyword is searched for subject, company information, notes and comments. Required if `excludeFromSearch` is specified. |
62
63
| excludeFromSearch | Array\<String\>|| The specified elements are excluded from the keyword search. Possible values are: `subject`, `company`, `notes`, `comments`. |
@@ -68,3 +69,59 @@ See the example response in the `Reference`.
| eventType | String | Yes | The event type. Possible values are: `REGULAR`, `ALL_DAY`. |
82
+
| eventMenu | String || The event menu. An empty string is taken as the default setting ("-----"). |
83
+
| subject | String || The event subject. |
84
+
| notes | String || The event memo. |
85
+
| start | Object | Yes | An object containing data of the start datetime. |
86
+
| start.dateTime | String | Yes | The start datetime of the event. |
87
+
| start.timeZone | String | Yes | The timezone of the start datetime. |
88
+
| end | Object | Conditionally<br />Required | An object containing data of the end datetime. Required if `isStartOnly` is false, `facilities` is specified, or `eventType` is `ALL_DAY`. |
89
+
| end.dateTime | String | Yes | The end datetime of the event. |
90
+
| end.timeZone | String | Yes | The timezone of the end datetime. |
91
+
| isAllDay | Boolean || It indicates whether the event is all-day. |
92
+
| isStartOnly | Boolean | Conditionally<br />Required | It indicates whether the event has only the start datetime. If nothing is specified, it will default to `false`. It must be specified as `true` if `end` is not specified. |
93
+
| attendees | Array\<Object\>| Conditionally<br />Required | The list of attendees. Required if `facilities` is not specified. |
94
+
| attendees[].type | String | Yes | The attendee type. Possible values are `ORGANIZATION`, `USER`. |
95
+
| attendees[].id | Number or String | Conditionally<br />Required | The ID of the attendee. Required if `attendees[].code` is not specified. |
96
+
| attendees[].code | String | Conditionally<br />Required | The code of the attendee. Required if `attendees[].id` is not specified. |
97
+
| facilities | Array\<Object\>| Conditionally<br />Required | The list of facilities. Required if `attendees` is not specified. |
98
+
| facilities[].id | Number or String | Conditionally<br />Required | The ID of the facility. Required if `facilities[].code` is not specified. |
99
+
| facilities[].code | String | Conditionally<br />Required | The code of the facility. Required if `facilities[].id` is not specified. |
100
+
| facilityUsingPurpose | String | Conditionally<br />Required | The purpose of the use of the facility. Required if "Facility usage request" is enabled. |
101
+
| companyInfo | Object || An object containing data of the company. |
102
+
| companyInfo.name | String || The company name. |
103
+
| companyInfo.zipCode | String || The zip code of the company. |
104
+
| companyInfo.address | String || The company address. |
105
+
| companyInfo.route | String || The route to the company. |
106
+
| companyInfo.routeTime | String || The time of the route. |
107
+
| companyInfo.routeFare | String || The fare of the route. |
108
+
| companyInfo.phone | String || The phone number of the company. |
109
+
| attachments | Array\<Object\>|| The list of attachments. |
110
+
| attachments[].name | String || The name of the attachment. |
111
+
| attachments[].content | String || The content of the attachment. It must be base64 string. |
112
+
| visibilityType | String || The visibility type. Possible values are `PUBLIC`, `PRIVATE`, `SET_PRIVATE_WATCHERS`. |
113
+
| useAttendanceCheck | Boolean || It indicates whether "Request responses" of attendees is enabled. |
114
+
| watchers | Array\<Object\>| Conditionally<br />Required | The list of private watchers. Required if `visibilityType` is `SET_PRIVATE_WATCHERS`. |
115
+
| watchers[].type | String | Yes | The type of the watcher. Possible values are `ORGANIZATION`, `USER`, `ROLE`. |
116
+
| watchers[].id | Number or String | Conditionally<br />Required | The ID of the watcher. Required if `watchers[].code` is not specified. |
117
+
| watchers[].code | String | Conditionally<br />Required | The code of the watcher. Required if `watchers[].id` is not specified. |
118
+
| additionalItems | Object || An object containing data of additional items. |
119
+
| additionalItems.item.value | String || The value of the item. |
0 commit comments