Docs

Get Department Schedule Roll Up

GET /Organizations/{organizationId}/departments/{departmentId}/schedule

GET/Organizations/{organizationId}/departments/{departmentId}/schedule

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.

Returns activities across all non-archived events in the organization that include at least one crew member belonging to the specified department. User names are hydrated from the Organization API. Use this for department-scoped calendar and schedule views.

Requires OrganizationBasicAccess permission.

Path Parameters

FieldTypeRequiredDescription
organizationIdGuidRequiredThe organization to roll up the schedule for.
departmentIdGuidRequiredThe department to filter activities by.

Response

Returns an array of activities filtered to the specified department across all events.

FieldTypeDescription
idGuidUnique activity ID.
eventIdGuidThe event this activity belongs to.
typestringActivity type (`Activity` or `TimeFrame`).
namestringActivity name.
startDateTimeDateTimeActivity start.
endDateTimeDateTimeActivity end.
isAllDayboolWhether this is an all-day activity.
recurrenceRulesRecurrenceRuleRecurrence configuration, if the activity repeats.
crewParticipant[]Crew members participating in this activity.

RecurrenceRule

FieldTypeDescription
frequencystringRecurrence frequency (e.g. `Daily`, `Weekly`).
intervalintHow often the frequency repeats.
daysOfWeekstring[]Days the recurrence applies to.
endDateDateTimeWhen the recurrence ends.

Participant

FieldTypeDescription
idGuidCrew member ID.
namestringDisplay name.
connectedUserIdGuid| nullLinked organization user ID, if connected.