Abwesenheiten
Abwesenheitsvorschau berechnen
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Pfadparameter
employee*string
The employee ID
Format
uuidstart*string
end*string
Query-Parameter
type?string|null
is_half_day?boolean
first_day_half?boolean
last_day_half?boolean
Response-Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/leave_preview/string/string"{ "data": { "start_date": "string", "end_date": "string", "type": "string", "is_half_day": true, "first_day_half": true, "last_day_half": true, "working_days": 0, "days": [ { "date": "string", "fraction": 0 } ], "affects_vacation": true, "vacation": { "year": 0, "remaining_before": 0, "remaining_after": 0 } }}