API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · attendance_shift_corrections

Attendance Shift Correction Schema

Schema-ID
attendance_shift_correction
Collection
attendance_shift_corrections
Permissions
  • Lesenwork_schedule_view
  • Anlegenattendance_correction_create
  • Ändernattendance_correction_approve
  • Löschenattendance_correction_approve

Felder

Attendance Shift Correction Schema

attendance_shift_corrections4 Permissions

Revisionssichere Korrektur eines attendance_shift (ADR 0036b Phase 5)

userIduuiderforderlich

Mitarbeiter, dessen Shift korrigiert wird

originalShiftIduuidoptional

Bei ADD = null; bei MODIFY/CANCEL = ID des Originals

read-onlynullable
correctionTypestringerforderlich
ADDMODIFYCANCEL
datestringerforderlich

Datum der korrigierten Shift (oder der Original-Shift bei CANCEL)

Pattern
startAtdatetimeoptional
nullable
endAtdatetimeoptional
nullable
durationMinutesintegeroptional
≥ 0nullable
activityTypestringoptional
WORKBREAKTRAVELON_CALL_ACTIVATIONSTANDBY
nullable
travelDetailsobjectoptional
nullable
fromLocationstringoptional
max 500 Zeichen
toLocationstringoptional
max 500 Zeichen
modestringoptional
CARTRAINFLIGHTOTHER
distanceKmnumberoptional
≥ 0nullable
customerRefstringoptional
max 64 Zeichennullable
countAsWorkPercentnumberoptional
0 – 100Default: 100
reasonstringerforderlich

Pflicht-Begründung (mind. 20 Zeichen) — Audit-relevant

20–4000 Zeichen
requestedBystringerforderlich

userId des Antragstellers (MA oder HR)

max 64 Zeichen
requestedAtdatetimeoptional
nullable
approvedBystringoptional

userId des Genehmigers. Service erzwingt != requestedBy (4-Augen).

max 64 Zeichenread-onlynullable
approvedAtdatetimeoptional
read-onlynullable
statusstringoptional
PENDINGAPPROVEDREJECTED
Default: "PENDING"
rejectionReasonstringoptional
max 4000 Zeichennullable
legalBasisstringoptional

z.B. "§ 16 Abs. 2 ArbZG" — Dokumentation, welche Norm die Korrektur zulässt

max 200 Zeichennullable
previousHashstringoptional
Patternread-onlynullable
entryHashstringoptional
Patternread-onlynullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/attendance_shift_corrections — Liste, paginiert + filterbar
  • GET /api/v1/attendance_shift_corrections/<id> — Einzelne Entity
  • POST /api/v1/attendance_shift_corrections — Anlegen
  • PATCH /api/v1/attendance_shift_corrections/<id> — Teil-Update
  • DELETE /api/v1/attendance_shift_corrections/<id> — Soft-Delete
  • GET /api/v1/attendance_shift_corrections/<id>/timeline — Audit + Aktivitäten

Suche