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

Business Hour Model Schema

Schema-ID
business_hour_model
Collection
business_hour_models
Permissions
  • Lesenbusiness_hour_model_view
  • Anlegenbusiness_hour_model_create
  • Ändernbusiness_hour_model_edit
  • Löschenbusiness_hour_model_delete

Felder

Business Hour Model Schema

business_hour_models4 Permissions

Schema for validating business hour model entities

namestringerforderlich

Business hour model name

1–200 Zeichen
timezonestringerforderlich

IANA timezone identifier (e.g. Europe/Berlin)

scheduleobject[]erforderlich

Weekly schedule entries

dayOfWeeknumbererforderlich
0 – 6
startTimestringerforderlich
Pattern
endTimestringerforderlich
Pattern
isActivebooleanerforderlich
holidaysobject[]optional

Holiday definitions

Default: []
datedateerforderlich
namestringerforderlich
isRecurringbooleanerforderlich
holidayCountrystringoptional

ISO country code used to auto-fetch holidays (e.g. DE, AT, CH)

max 5 Zeichen
holidaySubdivisionstringoptional

ISO 3166-2 subdivision code for regional holidays (e.g. DE-BY)

max 10 Zeichen
isDefaultbooleanerforderlich

Whether this is the default business hour model

isActivebooleanerforderlich

Whether this business hour model is active

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

Suche