Stampfactory
Dokumentation
Urlaubsanspruch & Zeitkonto

Urlaubsbuchungen

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()`.

GET
/employees/{employee}/vacation_transactions/{year}
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

employee*string

The employee ID

Formatuuid
year*integer

Response-Body

application/json

application/json

application/json

curl -X GET "https://example.com/employees/497f6eca-6276-4993-bfeb-53cbbbba6f08/vacation_transactions/0"
{  "data": [    {      "id": "string",      "bucket": "string",      "type": "string",      "days": 0,      "note": "string",      "source": "string",      "created_by": "string",      "leave_request_id": "string",      "created_at": "string"    }  ]}