Docs

Get Move To Clone Preview

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

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

Reads what moving these schedule blocks to a new clone would do, without changing anything: each live reservation on the need with its outcome (Followed: its window follows the remaining plan; KeptAuthored: it keeps a window someone set; KeptActuals: it is checked in and keeps its actual blocks), and the refusal reason when the blocks can't move. Need and block ids come from Procurements_GetProcurements.

Path Parameters

FieldTypeRequiredDescription
resourceIduuidRequired

Query Parameters

FieldTypeRequiredDescription
blockIdsuuid[]Optional

Response

FieldTypeDescription
refusalReasonstring| null
reservationsReservationPlanChange[]| null

ReservationPlanChange

FieldTypeDescription
iduuid
namestring| null
outcomestring| null