GET/users/{userId}/calendars/events/search
ユーザーのカレンダー全体を対象に予定を検索する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
calendar
calendar.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID (URL エンコードする)
required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Parameter | Type | Description |
|---|---|---|
| query | string | 検索語
minLength : 2 maxLength : 100 example : 定例会議 |
| queryFilters | string | 検索対象項目
example : summary,attendee |
| startTime | string | 予定検索の開始日時 (ISO-8601 形式: YYYY-MM-DDThh:mm:ssTZD)
example : 2021-06-03T10:00:00%2B09:00 |
| endTime | string | 予定検索の終了日時 (ISO-8601 形式: YYYY-MM-DDThh:mm:ssTZD)
example : 2021-06-03T11:00:00%2B09:00 |
| count | integer | 取得数 default : 50 minimum : 1 maximum : 100 example : 50 format : int32 |
| cursor | string | 次のリスト取得時に使用するカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| events | array (EventComponents) | 予定リスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| eventComponents | array (Event) | 予定情報 |
| organizerCalendarId | string | イベントが属しているカレンダー ID |
| Property | Type | Description |
|---|---|---|
| eventId | string | 予定 ID required minLength : 1 maxLength : 255 |
| createdTime | object (createdTime) | 時間情報 readOnly : true |
| updatedTime | object (updatedTime) | 時間情報 readOnly : true |
| summary | string | 予定の内容 required minLength : 0 maxLength : 200 |
| description | string | 予定のメモ minLength : 0 maxLength : 5000 |
| location | string | 予定の場所 minLength : 0 maxLength : 100 |
| map | object (map) | 地図情報 |
| mapUrl | object (mapUrl) | 地図 URL |
| categoryId | string | 予定のカテゴリー ID |
| organizer | object (organizer) | 主催者
readOnly : true |
| start | object (start) | 予定の開始または終了日時 required |
| end | object (end) | 予定の開始または終了日時 |
| recurrence | array (Recurrence) | 繰返し情報 minItems : 0 maxItems : 100 |
| recurringEventId | string | |
| transparency | string | 表示方法
default : OPAQUE Allowed values : OPAQUE, TRANSPARENT |
| visibility | string | 公開/非公開
default : PUBLIC Allowed values : PUBLIC, PRIVATE |
| sequence | integer | default : 0 minimum : 0 format : int32 |
| attendees | array (Attendee) | 参加者リスト minItems : 0 maxItems : 500 |
| videoMeeting | object (videoMeeting) | ビデオ通話ミーティング |
| reminders | array (Alarm) | 通知情報 minItems : 0 maxItems : 100 |
| attachments | array (File) | 添付ファイル(添付ファイルのサイズの合計が 100MB 以下) readOnly : true |
| viewUrl | string | 予定情報の参照 URL minLength : 0 format : uri readOnly : true |
| priority | integer | 予定の重要度 0 : 重要度の指定なし 1 : 最も重要 2 : 次に重要 .... 9 : 最も低い重要度 default : 0 minimum : 0 maximum : 9 |
| Property | Type | Description |
|---|---|---|
| dateTime | string | 日時 (YYYY-MM-DDTHH:mm:ss) |
| timeZone | string |
| Property | Type | Description |
|---|---|---|
| dateTime | string | 日時 (YYYY-MM-DDTHH:mm:ss) |
| timeZone | string |
| Property | Type | Description |
|---|---|---|
| type | string | 地図タイプ(google など) |
| geo | string | 経緯度 |
| Property | Type | Description |
|---|---|---|
| mapUrl | string | 地図の URL |
| imageId | string | 地図の画像 ID |
| Property | Type | Description |
|---|---|---|
| string | 主催者のメールアドレス required | |
| displayName | string | 主催者名 |
| Property | Type | Description |
|---|---|---|
| date | string | 終日予定の場合の日付 (YYYY-MM-DD)
|
| dateTime | string | 時間予定の場合の日時 (YYYY-MM-DDTHH:mm:ss) |
| timeZone | string | 時間予定 (dateTime) の場合の タイムゾーン |
| Property | Type | Description |
|---|---|---|
| date | string | 終日予定の場合の日付 (YYYY-MM-DD)
|
| dateTime | string | 時間予定の場合の日時 (YYYY-MM-DDTHH:mm:ss) |
| timeZone | string | 時間予定 (dateTime) の場合の タイムゾーン |
| Property | Type | Description |
|---|---|---|
| Recurrence | string | 繰返し予定のルールを設定
|
| Property | Type | Description |
|---|---|---|
| id | string | 設備ID
|
| string | 参加者メールアドレス | |
| displayName | string | 参加者または設備名 |
| partstat | string | 予定招待への回答
Allowed values : NEEDS-ACTION, ACCEPTED, DECLINED, TENTATIVE |
| isResource | boolean | 設備フラグ default : false |
| isOptional | boolean | 任意参加フラグ default : false |
| resourceValue | string | リソースの固有値 |
| Property | Type | Description |
|---|---|---|
| url | string | ビデオ通話ミーティング URL format : uri |
| resourceId | string | ビデオ通話ミーティング ID |
| Property | Type | Description |
|---|---|---|
| method | string | 通知方法
required Allowed values : DISPLAY, EMAIL |
| trigger | string | 予定開始前の通知タイミング |
| triggerDateTime | object (triggerDateTime) | 時間情報 |
| Property | Type | Description |
|---|---|---|
| dateTime | string | 日時 (YYYY-MM-DDTHH:mm:ss) |
| timeZone | string |
| Property | Type | Description |
|---|---|---|
| fileUrl | string | ファイル URL readOnly : true |
| fileName | string | ファイル名 readOnly : true |
| fileSize | integer | ファイルサイズ minimum : 0 format : int64 readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリストが存在する場合のカーソル値 example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== nullable : true |
example
1{2 "events": [3 {4 "eventComponents": [5 {6 "eventId": "eventr8123-wehuh324-qwejqw123",7 "createdTime": {8 "dateTime": "2021-12-12T22:44:59",9 "timeZone": "Asia/Tokyo"10 },11 "updatedTime": {12 "dateTime": "2021-12-14T21:01:31",13 "timeZone": "Asia/Tokyo"14 },15 "summary": "定例会議",16 "description": "Memo",17 "location": "第一会議室",18 "organizer": {19 "email": "user1@example.com",20 "displayName": "userName1"21 },22 "start": {23 "dateTime": "2021-12-13T14:00:00",24 "timeZone": "Asia/Tokyo"25 },26 "end": {27 "dateTime": "2021-12-13T15:00:00",28 "timeZone": "Asia/Tokyo"29 },30 "attendees": [31 {32 "email": "attendee1@example.com",33 "displayName": "user1",34 "partstat": "NEEDS-ACTION",35 "isOptional": false,36 "isResource": false37 }38 ],39 "viewUrl": "https://calendar.worksmobile.com/permanentLink.nhn"40 }41 ],42 "organizerCalendarId": "calendar-96b8-4c74-8277-7953e0b4604a"43 }44 ],45 "responseMetaData": {46 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="47 }48}Bad Request
Forbidden
Not Found