API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · daily_closing_policies

Daily Closing Policy

Schema-ID
daily_closing_policy
Collection
daily_closing_policies
Permissions
  • Lesendaily_closing_admin
  • Anlegendaily_closing_admin
  • Änderndaily_closing_admin
  • Löschendaily_closing_admin

Felder

Daily Closing Policy

daily_closing_policies4 Permissions

Configurable closing policy at tenant, org-unit, or role scope. Defines reminder trigger, guards, notes requirement, and overdue escalation behaviour.

scopeobjecterforderlich
typestringerforderlich
tenantorg_unitrole
targetIdstringoptional

orgUnitId or roleId; null for tenant-default

nullable
enabledbooleanerforderlich
Default: false
reminderobjecterforderlich
triggersstring[]erforderlich

Ordered priority list — first match wins

min 1 Items
fixedTimestringoptional

HH:MM tenant-local time, required when triggers contains fixed_time

Patternnullable
minHoursForClockOutTriggerintegeroptional

Minutes — minimum logged work-shift time before clock_out_min_hours fires

0 – 1440Default: 360
inactivityMinutesintegeroptional
1 – 1440nullable
channelsstring[]erforderlich
min 1 Items
guardsobject[]erforderlich
Default: []
idstringerforderlich
min 1 Zeichen
kindstringerforderlich
all_calendar_events_bookedall_phone_calls_bookedall_remote_sessions_bookedattendance_vs_booked_matchno_open_tickets_assigned_todayno_overdue_tasks_due_todayno_unread_high_priority_inboxattendance_shift_clocked_out
severitystringerforderlich
blockwarninfo
configobjectoptional
toleranceMinutesintegeroptional
≥ 0
i18nKeystringerforderlich
min 1 Zeichen
hardBlockbooleanoptional

DEPRECATED (ADR 0478) — accepted for backwards compatibility, no longer read. Every failing block/warn guard is overridable with a written reason.

Default: true
notesobjectoptional
requiredbooleanoptional
Default: false
promptstringoptional
max 500 Zeichennullable
overdueEscalationobjectoptional
teamLeadThresholdintegeroptional
≥ 1Default: 3
teamLeadCooldownDaysintegeroptional
≥ 1Default: 7

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/daily_closing_policies — Liste, paginiert + filterbar
  • GET /api/v1/daily_closing_policies/<id> — Einzelne Entity
  • POST /api/v1/daily_closing_policies — Anlegen
  • PATCH /api/v1/daily_closing_policies/<id> — Teil-Update
  • DELETE /api/v1/daily_closing_policies/<id> — Soft-Delete
  • GET /api/v1/daily_closing_policies/<id>/timeline — Audit + Aktivitäten

Suche