Docs

Move Blocks To New Clone

POST /procurement-resources/{resourceId}/move-to-clone

POST/procurement-resources/{resourceId}/move-to-clone

Hands part of a need's schedule to a second person: clones the need (type, quantity, properties, rate card, owner, group; unfilled, no order lines) into its clone group and moves the selected schedule blocks onto the clone in one save. Moved blocks keep their area, collaborator and request links. A reservation whose window is still the default set when it was reserved follows the remaining plan; one with a window someone set keeps it. Refused (400) for a composite or component, or a block not on the need. Returns the clone's id, each reservation's outcome (as Procurements_GetMoveToClonePreview) and the orders whose sent revision is now out of date.

Path Parameters

FieldTypeRequiredDescription
resourceIduuidRequired

Request Body

FieldTypeRequiredDescription
blockIdsuuid[]Optional

Response

FieldTypeDescription
cloneIduuid
reservationsReservationPlanChange[]| null
changedOrdersMoveBlocksToNewCloneResponseChangedOrder[]| null

ReservationPlanChange

FieldTypeDescription
iduuid
namestring| null
outcomestring| null

MoveBlocksToNewCloneResponseChangedOrder

FieldTypeDescription
iduuid
namestring| null
versionNumberinteger