Stampfactory
Dokumentation
Sonstiges

Manager-Inbox abrufen

All open manager tasks in one roundtrip (badge counter + section items). Read-only; actions go through the existing endpoints. Route sits in the `manager` middleware block without a global module gate — sections are individually module- and permission-gated inside the service

GET
/manager/inbox
AuthentifizierungBearer <token>

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

Ort: header

Response-Body

application/json

application/json

curl -X GET "https://example.com/manager/inbox"
{  "counts": {    "shift_swaps": 0,    "shift_applications": 0,    "leave_requests": 0,    "time_corrections": 0,    "total": 0  },  "shift_swaps": [    null  ],  "shift_applications": "string",  "leave_requests": [    null  ],  "time_corrections": [    {      "employee": {        "property1": null,        "property2": null      },      "date": "string",      "reason": "string",      "created_at": "string",      "entries": [        null      ],      "original_entries": [        null      ],      "original_net_ms": 0,      "proposed_net_ms": 0,      "delta_ms": 0,      "assessment": "string",      "age_days": 0    }  ]}