Docs

Add Reservation

POST /Reservations

POST/Reservations

Reserves against an organization need with an org token (resource inventory edit) and returns the new reservation id. Send procurementResourceId (the need must have a plan and not be a composite) and exactly one of resourceId (an organization resource of the need's type, not archived) or quantity; status defaults to Planned and shiftsFrom (flat UTC) starts its shifts there. coverings is empty and outsideWindow false. An event token gets 400: reserve against an event need through Reservations_AddResourceReservation (POST organizations/{orgId}/procurement-resources/{procurementResourceId}/reservations).

Request Body

FieldTypeRequiredDescription
procurementResourceIduuidOptional
resourceIduuidOptional
statusstringOptional
notesstringOptional
quantitynumberOptional
shiftsFromdate-timeOptional

Response

FieldTypeDescription
reservationIduuid
coveringsAddReservationResponseCovering[]| null
outsideWindowboolean

AddReservationResponseCovering

FieldTypeDescription
orderIduuid
orderLineItemIduuid
procurementResourceIduuid