GET/users/{userId}/calendars/{calendarId}/events
대상 사용자의 캘린더 중 대상 캘린더의 일정 목록을 조회한다.
fromDateTime ~ untilDateTime 시간은 최대 31일이다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
calendar
calendar.read
| Parameter | Type | Description |
|---|---|---|
| userId | string | 대상 사용자 ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| calendarId | string | 대상 캘린더 ID required example : calendar-96b8-4c74-8277-7953e0b4604a |
| Parameter | Type | Description |
|---|---|---|
| fromDateTime | string | 일정 조회 시작 일시(형식: YYYY-MM-DDThh:mm:ssTZD)
required example : 2021-06-03T10:00:00%2B09:00 |
| untilDateTime | string | 일정 조회 종료 일시(형식: YYYY-MM-DDThh:mm:ssTZD)
required example : 2021-06-03T11:00:00%2B09:00 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| events | array (EventComponents) | 일정 목록 |
| Property | Type | Description |
|---|---|---|
| eventComponents | array (Event) | 일정 정보 |
| organizerCalendarId | string | 이벤트가 속해 있는 calendarId |
| 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 | 반복 예외 일정을 나타내는 ID |
| 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 | 첨부된 지도의 타입
|
| geo | string | 첨부된 지도의 경위도 |
| Property | Type | Description |
|---|---|---|
| mapUrl | string | 지도 URL |
| imageId | string | 지도 이미지 |
| Property | Type | Description |
|---|---|---|
| string | Organizer의 메일 주소 required | |
| displayName | string | Organizer의 이름 |
| Property | Type | Description |
|---|---|---|
| date | string | 종일 일정이면 존재
|
| dateTime | string | 시간 일정이면 존재
|
| timeZone | string | dateTime의 타임존 정보(시간 일정이면 존재) |
| Property | Type | Description |
|---|---|---|
| date | string | 종일 일정이면 존재
|
| dateTime | string | 시간 일정이면 존재
|
| 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 | 파일 크기(byte) minimum : 0 format : int64 readOnly : 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/Seoul"10 },11 "updatedTime": {12 "dateTime": "2021-12-14T21:01:31",13 "timeZone": "Asia/Seoul"14 },15 "summary": "Meeting",16 "description": "Memo",17 "location": "CUNY Graduate Center",18 "map": {19 "type": "google",20 "geo": "40.7486484;-73.98400699999999"21 },22 "mapUrl": {23 "mapUrl": "https://mapUrl.googlemap.com",24 "imageId": "imageId123"25 },26 "categoryId": "1",27 "organizer": {28 "email": "user1@example.com",29 "displayName": "userName1"30 },31 "start": {32 "dateTime": "2021-12-13T14:00:00",33 "timeZone": "Asia/Seoul"34 },35 "end": {36 "dateTime": "2021-12-13T15:00:00",37 "timeZone": "Asia/Seoul"38 },39 "transparency": "OPAQUE",40 "visibility": "PUBLIC",41 "sequence": 1,42 "attendees": [43 {44 "email": "attendee1@example.com",45 "displayName": "user1",46 "partstat": "NEEDS-ACTION",47 "isOptional": false,48 "isResource": false49 },50 {51 "email": "attendee2@example.com",52 "displayName": "user2",53 "partstat": "ACCEPTED",54 "isOptional": true,55 "isResource": false56 },57 {58 "id": "10000355/10029600@97d9ddb4-ae93-4469-8471-110c573d13z1",59 "partstat": "ACCEPTED",60 "resourceValue": "https://calendar.worksmobile.com/resources/resource/10000355/10029600@97d9ddb4-ae93-4469-8471-110c573d13z1",61 "isOptional": false,62 "isResource": true63 },64 {65 "email": "attendee3@example.com",66 "displayName": "user3",67 "partstat": "DECLINED",68 "isOptional": false,69 "isResource": false70 }71 ],72 "videoMeeting": {73 "url": "https://works.do/x4gOs1_call",74 "resourceId": "x4gOs1_call"75 },76 "reminders": [77 {78 "method": "DISPLAY",79 "trigger": "-PT10M"80 },81 {82 "method": "EMAIL",83 "triggerDateTime": {84 "dateTime": "2021-12-13T10:00:00",85 "timeZone": "Asia/Tokyo"86 }87 }88 ],89 "attachments": [90 {91 "fileUrl": "https://calendar.worksmobile.com/file/download?scheduleId=20211212T134459Z-153@zvcweb06.wcal.nfra.io&path=21785b23-760z-4394-badf-6463c9474746.10029600",92 "fileName": "4024939274.pdf",93 "fileSize": 4850694 }95 ],96 "viewUrl": "https://calendar.worksmobile.com/permanentLink.nhn",97 "priority": 098 }99 ],100 "organizerCalendarId": "calendar-96b8-4c74-8277-7953e0b4604a"101 }102 ]103}Bad Request
Forbidden
Not Found