# Urlaubsbuchungen

`GET https://{tenant}.stamp.eu/rest/employees/{employee}/vacation_transactions/{year}`

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

## Pfadparameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `employee` | string | ja | The employee ID |
| `year` | integer | ja |  |

## Antworten

### 200: Array of `VacationTransactionResource`

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `data` | object[] | ja |
| `data[].id` | string | ja |
| `data[].bucket` | string | ja |
| `data[].type` | string | ja |
| `data[].days` | number | ja |
| `data[].note` | string | ja |
| `data[].source` | string | ja |
| `data[].created_by` | string \| null | ja |
| `data[].leave_request_id` | string | ja |
| `data[].created_at` | string | ja |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 404: Not found

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |
