Konfiguration
Dashboard-Daten
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/dashboard"{ "kpis": { "employees": 0, "present": 0, "absent": 0, "open_tasks": 0 }, "inbox": [ null ], "live": [ { "id": "string", "name": "string", "avatar_url": "string", "unit": "string", "department": "string", "clocked_in_at": "string", "duration_minutes": 0 } ], "team_status": { "missing_clockin": [ { "id": "string", "name": "string", "avatar_url": "string", "delay_minutes": 0, "shift_start": "string" } ], "clocked_in": [ { "id": "string", "name": "string", "avatar_url": "string", "clocked_in_at": "string", "duration_minutes": 0 } ], "not_in_office": [ { "id": "string", "name": "string", "avatar_url": "string", "leave_type": "string", "until": "string" } ] }, "absences": { "holidays": "string", "upcoming": "string" }, "vacation": { "total": 0, "used": 0, "remaining": 0 }, "birthdays": [ null ], "mood_summary": [ { "date": "string", "average_rating": 0, "count": 0 } ], "employee": { "timer": { "clocked_in": true, "last_event_timestamp": "string", "today_work_seconds": 0, "today_pause_seconds": 0, "target_duration_seconds": 0, "weekly_target_seconds": 0, "weekly_seconds": 0 }, "week_overview": [ { "date": "string", "weekday": "string", "actual_seconds": 0, "target_seconds": 0 } ], "overtime": { "balance_seconds": 0, "earned_month_seconds": 0, "compensated_month_seconds": 0, "year_month": "string" }, "my_requests": [ { "property1": null, "property2": null } ], "mood_history": [ { "date": "string", "rating": "string" } ] }, "attendance": { "rate": 0, "trend": 0, "heatmap": [ { "weekday": 0, "hour": 0, "value": 0 } ] }, "clock_channels_today": { "terminal": 0, "mobile": 0 }, "today_overview": [ { "employee_id": "string", "code": "string", "name": "string", "department": "string", "status": "absent", "clock_in": "string", "clock_out": "string" } ], "intraday_today": [ { "hour": 6, "count": 0 } ], "compliance_week": { "count": 0, "employees": [ { "id": "string", "name": "string" } ] }, "next_holiday": { "date": "string", "name": "string", "half_day": true }, "vacation_expiry_risk": [ { "employee_id": "string", "name": "string", "remaining_days": 0, "expires_at": "string" } ], "shift_coverage_today": { "units": [ { "unit_id": "string", "name": "string", "assigned": 0, "required": 0, "open": 0 } ] }}Workspace aktualisieren PUT
The tenant is resolved from the request domain, so a workspace admin can only ever modify their own tenant; there is no tenant identifier in the request to point at someone else's workspace.
Enum-Werte abrufen GET
Single source of truth for client-side enum values (flag bit positions, labels, categories). Clients load this once on startup and reference flags by name, not by hardcoded bit values.