Replace attendance_shift_correction
PUT/v1/attendance_shift_corrections/{id}
Full replace with optimistic locking.
Datenmodell
Diese Operation arbeitet auf der Entität Attendance Shift Correction (attendance_shift_correction). Alle 19 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.
- Pflichtfelder:
userId,correctionType,reason,requestedBy,date - Server-verwaltet:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,originalShiftId,approvedAt,approvedBy,entryHash,previousHash— diese Felder vergibt die Plattform; im Request werden sie verworfen.
Pfad-Parameter
| Name | Typ | Beschreibung |
|---|---|---|
iderforderlich | string |
Beispiel
curl -X PUT https://api.codemeta-os.de/v1/attendance_shift_corrections/{id} \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.attendance_shift_corrections.put();Antwortcodes
| HTTP | Bedeutung |
|---|---|
200 |
Default Response |