Docs

Delete Schedule Block

DELETE /procurement-resources/{resourceId}/schedule-blocks/{blockId}

DELETE/procurement-resources/{resourceId}/schedule-blocks/{blockId}

Removes a schedule block. Advance requests linked to it are unlinked, not deleted. Returns the orders whose sent revision is now out of date because the edit changed what they cover (empty when none); no revision is created. Works the same on an organization-level need (org token, resource inventory edit). There an org order line filling the need with no dates of its own follows the need's schedule span: its order's temporary units are re-planned (refused with 400 when a unit a show holds would be archived or narrowed, saving nothing), sent orders whose revision is now out of date are listed, and holds move.

Path Parameters

FieldTypeRequiredDescription
resourceIduuidRequired
blockIduuidRequired

Response

Type: DeleteScheduleBlockChangedOrderResponse[]

DeleteScheduleBlockChangedOrderResponse

FieldTypeDescription
iduuid
namestring| null
versionNumberinteger