Urlaubsanspruch & Zeitkonto
Urlaubsanspruch aktualisieren
Create or update a vacation entitlement for a year. Value changes are routed through the ledger allocator as `grant` (creation) or `adjustment` (existing) transactions so the ledger stays authoritative.
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
employee*string
The employee ID
Format
uuidRequest-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Response-Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/vacation_entitlements" \ -H "Content-Type: application/json" \ -d '{ "year": 2020, "total_days": 0 }'{ "data": { "id": "string", "employee_id": "string", "year": "string", "total_days": 0, "used_days": 0, "remaining_days": 0, "carried_over": 0, "buckets": [ { "bucket": "string", "granted": 0, "used": 0, "remaining": 0, "expires_at": "string" } ], "created_at": "string", "updated_at": "string" }}