Entity · attendance_shift_corrections
Attendance Shift Correction Schema
Fields
Attendance Shift Correction Schema
Revisionssichere Korrektur eines attendance_shift (ADR 0036b Phase 5)
userId
Mitarbeiter, dessen Shift korrigiert wird
originalShiftId
Bei ADD = null; bei MODIFY/CANCEL = ID des Originals
read-onlynullable
correctionType
Values
ADDMODIFYCANCELdate
Datum der korrigierten Shift (oder der Original-Shift bei CANCEL)
Pattern
startAt
nullable
endAt
nullable
durationMinutes
≥ 0nullable
activityType
Values
WORKBREAKTRAVELON_CALL_ACTIVATIONSTANDBYnullable
travelDetails
nullable
fromLocation
max 500 characters
toLocation
max 500 characters
mode
Values
CARTRAINFLIGHTOTHERdistanceKm
≥ 0nullable
customerRef
max 64 charactersnullable
countAsWorkPercent
0 – 100Default: 100
reason
Pflicht-Begründung (mind. 20 Zeichen) — Audit-relevant
20–4000 characters
requestedBy
userId des Antragstellers (MA oder HR)
max 64 characters
requestedAt
nullable
approvedBy
userId des Genehmigers. Service erzwingt != requestedBy (4-Augen).
max 64 charactersread-onlynullable
approvedAt
read-onlynullable
status
Values
PENDINGAPPROVEDREJECTEDDefault: "PENDING"
rejectionReason
max 4000 charactersnullable
legalBasis
z.B. "§ 16 Abs. 2 ArbZG" — Dokumentation, welche Norm die Korrektur zulässt
max 200 charactersnullable
previousHash
Patternread-onlynullable
entryHash
Patternread-onlynullable
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/attendance_shift_corrections— List, paginated + filterableGET /api/v1/attendance_shift_corrections/<id>— Single entityPOST /api/v1/attendance_shift_corrections— CreatePATCH /api/v1/attendance_shift_corrections/<id>— Partial updateDELETE /api/v1/attendance_shift_corrections/<id>— Soft deleteGET /api/v1/attendance_shift_corrections/<id>/timeline— Audit + activities