Docs

Get Crew Schedule Blocks

GET /crew/{crewId}/schedule-blocks

GET/crew/{crewId}/schedule-blocks

Lists one crew member's schedule blocks between from and to, across every active event plus the organization's own work, in start order. Per reservation and UTC day it counts that day's actual blocks when all of them are approved, otherwise its need's plan; reservations carries both sets. Event blocks use organization block types, so every block carries its typeId. Event work is read live, never stored. crewId comes from OrgCrew_GetCrew. Needs Crew.View at the organization.

Path Parameters

FieldTypeRequiredDescription
crewIduuidRequired

Query Parameters

FieldTypeRequiredDescription
fromdate-timeOptional
todate-timeOptional

Response

FieldTypeDescription
blocksGetCrewScheduleBlocksResponseBlockInfo[]| null
reservationsGetCrewScheduleBlocksResponseReservationInfo[]| null

GetCrewScheduleBlocksResponseBlockInfo

FieldTypeDescription
iduuid
typeIduuid| null
typeNamestring| null
namestring| null
startDateTimedate-time
endDateTimedate-time
isActualboolean
sourceGetCrewScheduleBlocksResponseSourceInfo

GetCrewScheduleBlocksResponseReservationInfo

FieldTypeDescription
sourceGetCrewScheduleBlocksResponseSourceInfo
originstring| null
statusstring| null
resourceIduuid| null
quantitynumber| null
actualsApprovalStatestring| null
usesActualsboolean
planBlocksGetCrewScheduleBlocksResponseBlockInfo[]| null
actualBlocksGetCrewScheduleBlocksResponseBlockInfo[]| null

GetCrewScheduleBlocksResponseSourceInfo

FieldTypeDescription
resourceReservationIduuid| null
eventReservationIduuid| null
eventIduuid| null
eventNamestring| null
isCandidateboolean