Docs

Get Resource Availability

GET /resources/availability

GET/resources/availability

Returns what is free in a window, per resource type and variant: owned quantity (a row count for Serialized and Crew, summed quantity for Pooled and Expendable), confirmed draw, tentative draw, and available quantity, which is owned minus confirmed draw and may be negative. Tentative draw is shown, not subtracted. A temporary unit counts only when the whole window sits inside its availableFrom..availableUntil. incomingQuantity is what unconfirmed org orders' Pool lines will add over the window; it never counts as available, and a row can carry only incoming supply. overbookedQuantity is how many units more are confirmed than owned at the busiest moment in the window, never below zero; rented units count only inside their window. Availability is organization-only. from and to bound the window. Needs the resource inventory read permission.

Query Parameters

FieldTypeRequiredDescription
fromdate-timeOptional
todate-timeOptional

Response

Type: GetResourceAvailabilityResponse[]

GetResourceAvailabilityResponse

FieldTypeDescription
resourceTypeIduuid
resourceTypeNamestring| null
trackingTypestring| null
resourceVariantIduuid
resourceVariantNamestring| null
ownedQuantitynumber
confirmedDrawnumber
tentativeDrawnumber
availableQuantitynumber
overbookedQuantitynumber
incomingQuantitynumber