# Kennzahlen eines Monats abrufen

`GET https://{tenant}.stamp.eu/rest/controlling/{yearMonth}`

The period is the `months` calendar months up to and including `yearMonth`, compared with the
same number of months before it.

## Pfadparameter

| Name | Typ | Pflicht |
| --- | --- | --- |
| `yearMonth` | string | ja |

## Query-Parameter

| Name | Typ | Pflicht |
| --- | --- | --- |
| `months` | integer | nein |

## Antworten

### 200: `ControllingOverviewResource`

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `data` | object | ja |  |
| `data.period` | object | ja |  |
| `data.period.from` | string | ja |  |
| `data.period.to` | string | ja |  |
| `data.period.months` | string[] | ja |  |
| `data.previous_period` | object | ja |  |
| `data.previous_period.from` | string | ja |  |
| `data.previous_period.to` | string | ja |  |
| `data.previous_period.months` | string[] | ja |  |
| `data.scope` | string | ja |  |
| `data.provisional_months` | string[] | ja |  |
| `data.missing_months` | string[] | ja |  |
| `data.kpis` | object[] | ja |  |
| `data.kpis[].key` | `illness_rate`, `absence_rate`, `overtime_rate`, `turnover_rate`, `compliance_violation_days`, `minijob_exceeded`, `personnel_cost`, `cost_per_fte`, `personnel_cost_ratio`, `budget_deviation` | ja | Catalog of the personnel controlling KPIs (OpenSpec personalcontrolling-dashboard, D6). Single source for the validation of target values, the KPI list of the overview response and the frontend types (i18n key `controlling.kpi.<value>`). Suggested targets live in `config/controlling.php` so they can be tuned without touching code. |
| `data.kpis[].value` | number \| null | ja |  |
| `data.kpis[].unit` | string | ja |  |
| `data.kpis[].previous` | number \| null | ja |  |
| `data.kpis[].previous_reason` | `no_revenue`, `no_budget`, `no_data`, `missing_months`, `partial_scope` \| null | ja |  |
| `data.kpis[].delta` | number \| null | ja |  |
| `data.kpis[].target` | number \| null | ja |  |
| `data.kpis[].tolerance` | number \| null | ja |  |
| `data.kpis[].direction` | string | ja |  |
| `data.kpis[].status` | `on_target`, `near_target`, `off_target` \| null | ja |  |
| `data.kpis[].reason` | `no_revenue`, `no_budget`, `no_data`, `missing_months`, `partial_scope` \| null | ja |  |
| `data.kpis[].estimated` | boolean | ja |  |
| `data.attention` | object[] | ja |  |
| `data.attention[].severity` | string | ja |  |
| `data.attention[].code` | string | ja |  |
| `data.attention[].kpi` | string | ja |  |
| `data.attention[].value` | number \| null | ja |  |
| `data.attention[].formatted` | string | ja |  |
| `data.attention[].count` | integer \| null | ja |  |
| `data.attention[].department_id` | string \| null | ja |  |
| `data.attention[].months` | string[] | ja |  |
| `data.attention[].link` | object | ja |  |
| `data.series` | object[] | ja |  |
| `data.series[].month` | string | ja |  |
| `data.series[].period` | string | ja |  |
| `data.series[].computed` | boolean | ja |  |
| `data.series[].provisional` | boolean | ja |  |
| `data.series[].headcount` | number \| null | ja |  |
| `data.series[].fte` | number \| null | ja |  |
| `data.series[].net_ms` | integer \| null | ja |  |
| `data.series[].target_ms` | integer \| null | ja |  |
| `data.series[].illness_days` | number \| null | ja |  |
| `data.series[].absence_days` | number \| null | ja |  |
| `data.series[].personnel_cost_cents` | integer \| null | ja |  |
| `data.series[].budget_cents` | integer \| null | ja |  |
| `data.series[].revenue_cents` | integer \| null | ja |  |
| `data.series[].personnel_cost_ratio` | number \| null | ja |  |
| `data.series[].rate_missing_count` | integer \| null | ja |  |
| `data.by_department` | object[] | ja |  |
| `data.by_department[].key` | string | ja |  |
| `data.by_department[].department_id` | string \| null | ja |  |
| `data.by_department[].name` | string \| null | ja |  |
| `data.by_department[].headcount` | number | ja |  |
| `data.by_department[].headcount_previous` | number \| null | ja |  |
| `data.by_department[].headcount_delta` | number \| null | ja |  |
| `data.by_department[].fte` | number | ja |  |
| `data.by_department[].illness_rate` | number \| null | ja |  |
| `data.by_department[].illness_rate_previous` | number \| null | ja |  |
| `data.by_department[].illness_target_status` | `on_target`, `near_target`, `off_target` \| null | ja |  |
| `data.by_department[].absence_rate` | number \| null | ja |  |
| `data.by_department[].absence_rate_previous` | number \| null | ja |  |
| `data.by_department[].overtime_rate` | number \| null | ja |  |
| `data.by_department[].overtime_rate_previous` | number \| null | ja |  |
| `data.by_department[].turnover_rate` | number \| null | ja |  |
| `data.by_department[].turnover_rate_previous` | number \| null | ja |  |
| `data.by_department[].personnel_cost_cents` | integer \| null | ja |  |
| `data.by_department[].cost_per_fte_cents` | integer \| null | ja |  |
| `data.by_department[].budget_cents` | integer \| null | ja |  |
| `data.by_department[].budget_deviation_cents` | integer \| null | ja |  |
| `data.by_department[].budget_deviation_percent` | number \| null | ja |  |
| `data.by_department[].budget_reason` | `no_revenue`, `no_budget`, `no_data`, `missing_months`, `partial_scope` \| null | ja |  |
| `data.by_cost_center` | object[] | ja |  |
| `data.by_cost_center[].cost_center_id` | string \| null | ja |  |
| `data.by_cost_center[].name` | string \| null | ja |  |
| `data.by_cost_center[].personnel_cost_cents` | integer \| null | ja |  |
| `data.by_cost_center[].previous_cents` | integer \| null | ja |  |
| `data.by_cost_center[].delta_cents` | integer \| null | ja |  |
| `data.by_cost_center[].reason` | `no_revenue`, `no_budget`, `no_data`, `missing_months`, `partial_scope` \| null | ja |  |
| `data.by_cost_center[].previous_reason` | `no_revenue`, `no_budget`, `no_data`, `missing_months`, `partial_scope` \| null | ja |  |
| `data.cost` | object \| null | ja |  |
| `data.cost.by_type` | object[] | ja |  |
| `data.cost.total_cents` | integer \| null | ja |  |
| `data.cost.previous_total_cents` | integer \| null | ja |  |
| `data.cost.marginal_share` | object | ja |  |
| `data.cost.budget` | object | ja |  |
| `data.cost.rate_missing_count` | integer | ja |  |
| `data.cost.fte_missing_count` | integer | ja |  |
| `data.cost.estimated_count` | integer | ja |  |
| `data.cost.employer_rate` | number | ja |  |
| `data.cost.employer_rate_marginal` | number | ja |  |
| `data.cost.employer_rate_source` | string | ja |  |
| `data.cost_available` | boolean | ja |  |
| `data.computed_at` | string \| null | ja |  |

### 401: Unauthenticated

| 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. |
