API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · attendance_shift_corrections

Attendance Shift Correction Schema

Schema ID
attendance_shift_correction
Collection
attendance_shift_corrections
Permissions
  • Readwork_schedule_view
  • Createattendance_correction_create
  • Editattendance_correction_approve
  • Deleteattendance_correction_approve

Fields

Attendance Shift Correction Schema

attendance_shift_corrections4 permissions

Revisionssichere Korrektur eines attendance_shift (ADR 0036b Phase 5)

userIduuidrequired

Mitarbeiter, dessen Shift korrigiert wird

originalShiftIduuidoptional

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

read-onlynullable
correctionTypestringrequired
ADDMODIFYCANCEL
datestringrequired

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 characters
toLocationstringoptional
max 500 characters
modestringoptional
CARTRAINFLIGHTOTHER
distanceKmnumberoptional
≥ 0nullable
customerRefstringoptional
max 64 charactersnullable
countAsWorkPercentnumberoptional
0 – 100Default: 100
reasonstringrequired

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

20–4000 characters
requestedBystringrequired

userId des Antragstellers (MA oder HR)

max 64 characters
requestedAtdatetimeoptional
nullable
approvedBystringoptional

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

max 64 charactersread-onlynullable
approvedAtdatetimeoptional
read-onlynullable
statusstringoptional
PENDINGAPPROVEDREJECTED
Default: "PENDING"
rejectionReasonstringoptional
max 4000 charactersnullable
legalBasisstringoptional

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

max 200 charactersnullable
previousHashstringoptional
Patternread-onlynullable
entryHashstringoptional
Patternread-onlynullable

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 + filterable
  • GET /api/v1/attendance_shift_corrections/<id> — Single entity
  • POST /api/v1/attendance_shift_corrections — Create
  • PATCH /api/v1/attendance_shift_corrections/<id> — Partial update
  • DELETE /api/v1/attendance_shift_corrections/<id> — Soft delete
  • GET /api/v1/attendance_shift_corrections/<id>/timeline — Audit + activities

Search