Docs
Set Schedule Block Actuals Approval
PUT /organizations/{orgId}/schedule-blocks/actuals-approval
PUT
/organizations/{orgId}/schedule-blocks/actuals-approvalApproves or reopens actual schedule blocks (shifts) in one all-or-nothing call. state is Approved or Open; a repeat keeps the original stamp. Shift, day, week and selection all send block ids from Timesheets_GetTimesheet, Timesheets_GetSuppliedTimesheet or Reservations_GetReservationActuals. With an event token every block must be on that event and the caller needs Procurement.Approve; with an org token, resource inventory edit on each reserved resource. 404 when any id is not an actual block of the organization, 400 on a planned block or an empty list. Approving a reservation's last open shift completes it; reopening one returns it to CheckedIn.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| blockIds | uuid[] | Optional | |
| state | string | Optional |