Check In Shift
POST /Reservations/{reservationId}/schedule-blocks/{planBlockId}/check-in
/Reservations/{reservationId}/schedule-blocks/{planBlockId}/check-inChecks in the shift (run of touching plan blocks) that the plan block belongs to and seeds its actual block from arrivedAt (default the plan start). reservationId comes from Reservations_GetReservations, planBlockId from the need's schedule blocks. Returns the seeded blocks as an array of id and reservationId, empty when the shift was already checked in. On a person with overlapping roles on this event (a double-staffed group) it checks in every role's overlapping shifts and seeds their union onto the paid role, so each seeded block names the reservationId it sits on. On an unnamed labor or serialized hold, arrivedQuantity records how many arrived and seeds that many heads; goods check in through Reservations_AddShiftAttendance instead.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| reservationId | uuid | Required | |
| planBlockId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| arrivedAt | date-time | Optional | |
| arrivedQuantity | number | Optional |
Response
Type: SeededBlockResponse[]
SeededBlockResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| reservationId | uuid |