Docs

Update Schedule Block

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

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

Replaces a schedule block's fields and re-evaluates the need's planned states. 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

Request Body

FieldTypeRequiredDescription
typeIduuidOptional
namestringOptional
startDateTimedate-timeOptional
endDateTimedate-timeOptional
activityIduuidOptional
notesstringOptional
areaIduuidOptional
collaboratorIduuidOptional

Response

Type: UpdateScheduleBlockChangedOrderResponse[]

UpdateScheduleBlockChangedOrderResponse

FieldTypeDescription
iduuid
namestring| null
versionNumberinteger