Docs
Copy Actual Block
POST /Reservations/{reservationId}/schedule-blocks/{blockId}/copy/{toReservationId}
POST
/Reservations/{reservationId}/schedule-blocks/{blockId}/copy/{toReservationId}Copies one actual block to another role of the same double-staffed person ("Also pay as"), so both reservations are paid for it; thresholds count the hours once. Returns the new block's id. Same ids and checks as the move: blockId from Timesheets_GetTimesheet or Reservations_GetReservationActuals, toReservationId from the timesheet's groups[].memberReservationIds; Procurement edit on an event token, inventory edit on the reserved resource on an org token, on both reservations. 404 when the block is not an actual block of reservationId; 400 when it is approved, the target is not in the group, or the copy would overlap an actual the target owns.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| reservationId | uuid | Required | |
| blockId | uuid | Required | |
| toReservationId | uuid | Required |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid |