Urlaubsanspruch & Zeitkonto
Urlaubszuteilung vorschauen
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
employee*string
The employee ID
Format
uuidQuery-Parameter
start_date*string
Format
date-timeend_date*string
Format
date-timeis_half_day?boolean
type?string|null
Response-Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/vacation_allocation_preview?start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z"{ "data": { "days": [ { "date": "string", "fraction": 0 } ], "total_days": 0, "allocation": [ { "bucket": "string", "days": 0, "expires_at": "string" } ] }}Urlaubsanspruch aktualisieren PUT
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.
Urlaubsbuchungen GET
Chronological booking history (ascending) for one employee and year, straight from the append-only ledger. Visibility scoping is enforced by the route middleware (self-or-manager), identical to `index()`.