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

Daily Closing Schema

Schema-ID
daily_closing
Collection
daily_closings
Permissions
  • Lesendaily_overview_view
  • Anlegendaily_closing_create
  • Änderndaily_closing_create
  • Löschendaily_closing_admin

Felder

Daily Closing Schema

daily_closings4 Permissions

Persistent confirmation that a user has reviewed and closed their workday. Captures guard results, override reasons, and is automatically superseded when post-close changes happen.

userIduuiderforderlich

User who owns this daily closing

datedateerforderlich

Date of the daily closing (ISO YYYY-MM-DD, tenant-local time)

orgUnitIduuidoptional

Org unit (team) this closing belongs to at closing time. Nullable for tenants without formal org structure.

nullable
policyIduuiderforderlich

Effective policy that governed this closing

read-only
closedAtdatetimeerforderlich

Timestamp when the day was closed

read-only
guardResultsobject[]optional

Snapshot of guard evaluations at closing time

Default: []read-only
idstringerforderlich
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
statusstringerforderlich
passwarnfail
severitystringerforderlich
blockwarninfo
messagestringerforderlich
detailsobject[]optional
typestringoptional
idstringoptional
titlestringoptional
overridesobject[]optional

Guards that the user closed with a reason override

Default: []
guardIdstringerforderlich
reasonstringerforderlich
1–2000 Zeichen
overriddenByuuiderforderlich
notesstringoptional

Snapshot of the daily_note content as of closing time; subsequent edits on the daily_note do not change this field

max 8000 Zeichennullable
recapIduuidoptional

FK to daily_overview_recaps if a self-scope recap was generated for this date

read-onlynullable
supersededAtdatetimeoptional

Set when a post-close mutation (time_record/phone_call/remote_session/calendar_event) invalidates this closing; user must create a fresh closing

read-onlynullable
supersededBystringoptional
time_record_changephone_call_changeremote_session_changecalendar_event_changemanual
read-onlynullable
supersededRefIdstringoptional

ID of the entity whose change triggered the supersede

read-onlynullable

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_closings — Liste, paginiert + filterbar
  • GET /api/v1/daily_closings/<id> — Einzelne Entity
  • POST /api/v1/daily_closings — Anlegen
  • PATCH /api/v1/daily_closings/<id> — Teil-Update
  • DELETE /api/v1/daily_closings/<id> — Soft-Delete
  • GET /api/v1/daily_closings/<id>/timeline — Audit + Aktivitäten

Suche