Zeitkorrekturen
Korrekturen im Stapel entscheiden
Approve or reject many correction requests in one call. Each item is decided with the exact same logic as the single approve/reject endpoints (notifications, webhooks, overtime recalc, payroll-period lock, resolving the manager notification). A failing item (closed period, out of scope, nothing pending) does not abort the rest
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Response-Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/corrections/bulk" \ -H "Content-Type: application/json" \ -d '{ "action": "approve", "items": [ { "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3", "date": "2019-08-24T14:15:22Z" } ] }'{ "processed": 0, "failed": [ { "employee_id": "string", "date": "string", "message": "Keine Berechtigung für diese Mitarbeitende." } ]}