GET/Organizations/{orgId}/schedule
Lists the global activities of the organization's active events plus every activity the caller takes
part in as crew, that overlap the from and to window (instants, to exclusive and after from, at most 400
days apart), in the same shape as Activities_GetActivityWindow with each item's event filled. Returns at
most 2,000 rows with truncated set when capped, and the count of drafts with no start. Use
Activities_GetActivityWindow for a single event. Omit both from and to to list every such activity, any
date or none, undated last (the org Table). The orgId comes from Users_GetOrganizations; needs the
organization basic access permission.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| from | date-time | Optional | |
| to | date-time | Optional | |
Response
| Field | Type | Description |
|---|
| activities | ActivityWindowItem[]| null | |
| truncated | boolean | |
| undatedDraftCount | integer | |
ActivityWindowItem
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| state | string| null | |
| activityTypeId | uuid| null | |
| isGlobal | boolean | |
| isAllDay | boolean | |
| isDateOnly | boolean | |
| isMarker | boolean | |
| countsAsBusy | boolean | |
| startDateTime | date-time| null | |
| endDateTime | date-time| null | |
| timeZone | string| null | |
| start | date-time| null | |
| end | date-time| null | |
| calendars | string[]| null | |
| event | ActivityWindowItemEventInfo | |
| participants | ActivityWindowItemParticipantItem[]| null | |
| areas | ActivityWindowItemAreaItem[]| null | |
| lockedFields | string[]| null | |
| calendarSync | ActivityWindowItemCalendarSyncInfo | |
ActivityWindowItemEventInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| organizationId | uuid | |
| imageUrl | string| null | |
ActivityWindowItemParticipantItem
| Field | Type | Description |
|---|
| id | uuid | |
| kind | string| null | |
| role | string| null | |
| name | string| null | |
ActivityWindowItemAreaItem
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
ActivityWindowItemCalendarSyncInfo
| Field | Type | Description |
|---|
| calendarName | string| null | |