# Korrekturen im Stapel entscheiden

`POST https://{tenant}.stamp.eu/rest/corrections/bulk`

Approve or reject many correction requests
in one call. Each item is decided with the exact same logic as the single
approve/reject endpoints (notifications, webhooks, overtime recalc,
payroll-period lock, resolving the manager notification). A failing item
(closed period, out of scope, nothing pending) does not abort the rest

## Request-Body

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `action` | `approve`, `reject` | ja |
| `note` | string \| null | nein |
| `items` | object[] | ja |
| `items[].employee_id` | string | ja |
| `items[].date` | string | ja |

## Antworten

### 200

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `processed` | integer | ja |
| `failed` | object[] | ja |

### 401: Unauthenticated

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

### 403: An error

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

### 422: Validation error

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Errors overview. |
| `errors` | object | ja | A detailed description of each field that failed validation. |
