API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · attendance_shift_corrections

Attendance Shift Correction Schema

Schema-ID
attendance_shift_correction
Collection
attendance_shift_corrections
Permissions
  • Lezenwork_schedule_view
  • Aanmakenattendance_correction_create
  • Wijzigenattendance_correction_approve
  • Verwijderenattendance_correction_approve

Velden

Attendance Shift Correction Schema

attendance_shift_corrections4 permissions

Revisionssichere Korrektur eines attendance_shift (ADR 0036b Phase 5)

userIduuidvereist

Mitarbeiter, dessen Shift korrigiert wird

originalShiftIduuidoptioneel

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

read-onlynullable
correctionTypestringvereist
ADDMODIFYCANCEL
datestringvereist

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

Pattern
startAtdatetimeoptioneel
nullable
endAtdatetimeoptioneel
nullable
durationMinutesintegeroptioneel
≥ 0nullable
activityTypestringoptioneel
WORKBREAKTRAVELON_CALL_ACTIVATIONSTANDBY
nullable
travelDetailsobjectoptioneel
nullable
fromLocationstringoptioneel
max. 500 tekens
toLocationstringoptioneel
max. 500 tekens
modestringoptioneel
CARTRAINFLIGHTOTHER
distanceKmnumberoptioneel
≥ 0nullable
customerRefstringoptioneel
max. 64 tekensnullable
countAsWorkPercentnumberoptioneel
0 – 100Default: 100
reasonstringvereist

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

20–4000 tekens
requestedBystringvereist

userId des Antragstellers (MA oder HR)

max. 64 tekens
requestedAtdatetimeoptioneel
nullable
approvedBystringoptioneel

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

max. 64 tekensread-onlynullable
approvedAtdatetimeoptioneel
read-onlynullable
statusstringoptioneel
PENDINGAPPROVEDREJECTED
Default: "PENDING"
rejectionReasonstringoptioneel
max. 4000 tekensnullable
legalBasisstringoptioneel

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

max. 200 tekensnullable
previousHashstringoptioneel
Patternread-onlynullable
entryHashstringoptioneel
Patternread-onlynullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/attendance_shift_corrections — Lijst, gepagineerd + filterbaar
  • GET /api/v1/attendance_shift_corrections/<id> — Enkele entity
  • POST /api/v1/attendance_shift_corrections — Aanmaken
  • PATCH /api/v1/attendance_shift_corrections/<id> — Gedeeltelijke update
  • DELETE /api/v1/attendance_shift_corrections/<id> — Soft-delete
  • GET /api/v1/attendance_shift_corrections/<id>/timeline — Audit + activiteiten

Zoeken