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
| Field | Type | Required | Description |
|---|
| resourceId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| blockIds | uuid[] | Optional | |
Response
| Field | Type | Description |
|---|
| cloneId | uuid | |
| reservations | ReservationPlanChange[]| null | |
| changedOrders | MoveBlocksToNewCloneResponseChangedOrder[]| null | |
ReservationPlanChange
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| outcome | string| null | |
MoveBlocksToNewCloneResponseChangedOrder
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| versionNumber | integer | |