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
| Field | Type | Required | Description |
|---|
| crewId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| from | date-time | Optional | |
| to | date-time | Optional | |
Response
| Field | Type | Description |
|---|
| blocks | GetCrewScheduleBlocksResponseBlockInfo[]| null | |
| reservations | GetCrewScheduleBlocksResponseReservationInfo[]| null | |
GetCrewScheduleBlocksResponseBlockInfo
| Field | Type | Description |
|---|
| id | uuid | |
| typeId | uuid| null | |
| typeName | string| null | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| isActual | boolean | |
| source | GetCrewScheduleBlocksResponseSourceInfo | |
GetCrewScheduleBlocksResponseReservationInfo
| Field | Type | Description |
|---|
| source | GetCrewScheduleBlocksResponseSourceInfo | |
| origin | string| null | |
| status | string| null | |
| resourceId | uuid| null | |
| quantity | number| null | |
| actualsApprovalState | string| null | |
| usesActuals | boolean | |
| planBlocks | GetCrewScheduleBlocksResponseBlockInfo[]| null | |
| actualBlocks | GetCrewScheduleBlocksResponseBlockInfo[]| null | |
GetCrewScheduleBlocksResponseSourceInfo
| Field | Type | Description |
|---|
| resourceReservationId | uuid| null | |
| eventReservationId | uuid| null | |
| eventId | uuid| null | |
| eventName | string| null | |
| isCandidate | boolean | |