Docs
Get Organization Level Reservations
GET /resource-reservations
GET
/resource-reservationsLists the organization's own reservations (holds on its resources, such as shop days), ordered by start. A reservation's start and end follow its need's plan unless reservationSpans holds an authored window, and are null when there is neither. from and to return any reservation whose window overlaps that range, and resourceId or crewId narrows it to one resource or one crew member. A hold an organization order line made has origin Order and carries its line, order and use (disposition). Takes an org token; requires resource inventory read. Event reservations are listed with Reservations_GetReservations.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| from | date-time | Optional | |
| to | date-time | Optional | |
| resourceId | uuid | Optional | |
| crewId | uuid | Optional |
Response
Type: GetResourceReservationsResponse[]
GetResourceReservationsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| resourceId | uuid| null | |
| quantity | number| null | |
| resourceTypeId | uuid| null | |
| resourceVariantId | uuid| null | |
| procurementResourceId | uuid| null | |
| procurementId | uuid| null | |
| procurementName | string| null | |
| plannedBlocks | GetResourceReservationsResponsePlannedBlockInfo[]| null | |
| resourceName | string| null | |
| crewId | uuid| null | |
| start | date-time| null | |
| end | date-time| null | |
| reservationSpans | GetResourceReservationsResponseSpanInfo[]| null | |
| isScheduledType | boolean | |
| hasActualBlocks | boolean | |
| actualsApproval | ActualsApprovalInfo | |
| status | string| null | |
| notes | string| null | |
| origin | string| null | |
| orderLineItemId | uuid| null | |
| orderId | uuid| null | |
| orderName | string| null | |
| disposition | string| null |
GetResourceReservationsResponsePlannedBlockInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| typeId | uuid | |
| typeName | string| null | |
| color | string| null | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| notes | string| null |
GetResourceReservationsResponseSpanInfo
| Field | Type | Description |
|---|---|---|
| startDateTime | date-time | |
| endDateTime | date-time |
ActualsApprovalInfo
| Field | Type | Description |
|---|---|---|
| state | string| null | |
| approvedAt | date-time| null | |
| approvedByUserId | uuid| null | |
| approvedByName | string| null |