Docs
Get Resource Reservations
GET /resource-reservations
GET
/resource-reservationsLists the organization's own resource reservations (holds on its resources, such as shop days), ordered by start. from and to return any reservation that overlaps that range, and resourceId or crewId narrows it to one resource or one crew member. Requires ResourceInventory.Read.
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 | |
| resourceName | string| null | |
| crewId | uuid| null | |
| start | date-time | |
| end | date-time | |
| status | string| null | |
| notes | string| null | |
| blockType | GetResourceReservationsResponseBlockTypeInfo | |
| state | GetResourceReservationsResponseStateInfo |
GetResourceReservationsResponseBlockTypeInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| label | string| null | |
| icon | string| null | |
| color | string| null |
GetResourceReservationsResponseStateInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| color | string| null | |
| icon | string| null |