API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · business_hours_profiles

Business Hours Profile Schema

ID du schéma
business_hours_profile
Collection
business_hours_profiles
Autorisations
  • Liretelephony_admin
  • Créertelephony_admin
  • Modifiertelephony_admin
  • Supprimertelephony_admin

Champs

Business Hours Profile Schema

business_hours_profiles4 autorisations

Schema for business hours profiles used for time-based call routing

namestringobligatoire

Human-readable name (e.g. "Standardzeiten", "Notdienst")

1–200 caractères
timezonestringfacultatif

IANA timezone (e.g. "Europe/Berlin"). Defaults to tenant timezone if null

nullable
weeklyScheduleobjectfacultatif

Opening hours per weekday. Keys: mon,tue,wed,thu,fri,sat,sun. Values: array of {start,end} time slots in HH:MM format

nullable
monobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
tueobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
wedobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
thuobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
friobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
satobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
sunobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
holidaysobject[]facultatif

Custom holidays / exception dates where business is closed

nullable
datestringobligatoire

ISO date YYYY-MM-DD

namestringobligatoire

Holiday name

allDaybooleanfacultatif

If true, closed all day. If false, use overrideSlots

overrideSlotsobject[]facultatif
nullable
startstringobligatoire
endstringobligatoire
usePublicHolidaysbooleanfacultatif

If true, automatically include public holidays from the German Feiertage API for the tenant state

nullable
publicHolidayStatestringfacultatif

German federal state code for public holiday lookup

BWBYBEBBHBHHHEMVNINWRPSLSNSTSHTH
nullable
afterHoursActionstringfacultatif

What happens when a call arrives outside business hours

VOICEMAILIVRFORWARDHANGUP
nullable
afterHoursTargetstringfacultatif

Target for after-hours action (extension, IVR ID, phone number)

nullable
isDefaultbooleanfacultatif

If true, this profile is the default for the tenant

nullable
isActivebooleanfacultatif
nullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/business_hours_profiles — Liste, paginée et filtrable
  • GET /api/v1/business_hours_profiles/<id> — Une entité
  • POST /api/v1/business_hours_profiles — Créer
  • PATCH /api/v1/business_hours_profiles/<id> — Mise à jour partielle
  • DELETE /api/v1/business_hours_profiles/<id> — Suppression logique
  • GET /api/v1/business_hours_profiles/<id>/timeline — Audit et activités

Recherche