Docs

Get Activity Window

GET /Activities/window

GET/Activities/window

Lists the activities in a date range that the caller can read, once each, with the calendars each is on, for the calendar and gantt. from and to are instants (to exclusive, at most 400 days after from). A marker matches on its instant and a date-only draft on its day; drafts with no start are not listed but counted in undatedDraftCount. calendars narrows to {kind}:{id} entries (event token: event, crew, collaborator, area; organization token: organization, crew, department, location) or me, the caller's own activities across every event they are crew on; omit it for every calendar the caller can read. A calendar only narrows, so an id the caller cannot read returns nothing. With an event token it reads that event and needs event basic access; with an organization token and no event token it reads the organization's own activities and needs organization basic access. Returns at most 2,000 rows, with truncated set when capped. Times are wall-clock; timeZone is null while activities have no zone, and start and end then read that wall-clock as UTC. With an organization token, from and to may both be omitted to list every organization activity the caller can read, any date or none, undated last (the org Table); an event token always needs both.

Query Parameters

FieldTypeRequiredDescription
fromdate-timeOptional
todate-timeOptional
calendarsstring[]Optional

Response

FieldTypeDescription
activitiesActivityWindowItem[]| null
truncatedboolean
undatedDraftCountinteger

ActivityWindowItem

FieldTypeDescription
iduuid
namestring| null
statestring| null
activityTypeIduuid| null
isGlobalboolean
isAllDayboolean
isDateOnlyboolean
isMarkerboolean
countsAsBusyboolean
startDateTimedate-time| null
endDateTimedate-time| null
timeZonestring| null
startdate-time| null
enddate-time| null
calendarsstring[]| null
eventActivityWindowItemEventInfo
participantsActivityWindowItemParticipantItem[]| null
areasActivityWindowItemAreaItem[]| null
lockedFieldsstring[]| null
calendarSyncActivityWindowItemCalendarSyncInfo

ActivityWindowItemEventInfo

FieldTypeDescription
iduuid
namestring| null
organizationIduuid
imageUrlstring| null

ActivityWindowItemParticipantItem

FieldTypeDescription
iduuid
kindstring| null
rolestring| null
namestring| null

ActivityWindowItemAreaItem

FieldTypeDescription
iduuid
namestring| null

ActivityWindowItemCalendarSyncInfo

FieldTypeDescription
calendarNamestring| null