Docs
Get Blocks
GET /availability-blocks
GET
/availability-blocksLists availability blocks overlapping from..to (at most 400 days), optionally for some people (crewIds) or vendors (collaboratorRecordIds). Availability never changes a draw or a conflict. Requires resource inventory read.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| from | date-time | Optional | |
| to | date-time | Optional | |
| crewIds | uuid[] | Optional | |
| collaboratorRecordIds | uuid[] | Optional |
Response
Type: GetAvailabilityBlocksResponse[]
GetAvailabilityBlocksResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| crewId | uuid| null | |
| collaboratorRecordId | uuid| null | |
| blockType | GetAvailabilityBlocksResponseBlockTypeInfo | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| source | string| null | |
| inquiry | GetAvailabilityBlocksResponseInquiryRef | |
| notes | string| null |
GetAvailabilityBlocksResponseBlockTypeInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| label | string| null | |
| color | string| null | |
| icon | string| null |
GetAvailabilityBlocksResponseInquiryRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |