GET/Users/{userId}/activities
Returns every activity the user is on, across every organization, that overlaps 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. An activity counts when the user's crew row on
its event is a participant, or when it is a global activity on an event the user is crew on; only active
events are included, and with an organization token the organization's own activities the user's org crew
takes part in are added. Returns at most 2,000 rows with truncated set when capped, and the count of drafts
with no start. Works for a user with no organization of their own. Only the caller's own user id is
accepted.
Path Parameters
| Field | Type | Required | Description |
|---|
| userId | 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 | |