API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · business_hour_models

Business Hour Model Schema

Schema-ID
business_hour_model
Collection
business_hour_models
Permissions
  • Lezenbusiness_hour_model_view
  • Aanmakenbusiness_hour_model_create
  • Wijzigenbusiness_hour_model_edit
  • Verwijderenbusiness_hour_model_delete

Velden

Business Hour Model Schema

business_hour_models4 permissions

Schema for validating business hour model entities

namestringvereist

Business hour model name

1–200 tekens
timezonestringvereist

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

scheduleobject[]vereist

Weekly schedule entries

dayOfWeeknumbervereist

Weekday: 0 = Monday … 6 = Sunday (not JS Date.getDay)

0 – 6
startTimestringvereist
Pattern
endTimestringvereist
Pattern
isActivebooleanvereist
holidaysobject[]optioneel

Holiday definitions

Default: []
datedatevereist
namestringvereist
isRecurringbooleanvereist
holidayCountrystringoptioneel

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

max. 5 tekens
holidaySubdivisionstringoptioneel

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

max. 10 tekens
isDefaultbooleanvereist

Whether this is the default business hour model

isActivebooleanvereist

Whether this business hour model is active

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/business_hour_models — Lijst, gepagineerd + filterbaar
  • GET /api/v1/business_hour_models/<id> — Enkele entity
  • POST /api/v1/business_hour_models — Aanmaken
  • PATCH /api/v1/business_hour_models/<id> — Gedeeltelijke update
  • DELETE /api/v1/business_hour_models/<id> — Soft-delete
  • GET /api/v1/business_hour_models/<id>/timeline — Audit + activiteiten

Zoeken