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

On-Call Schedule Schema

Schema-ID
on_call_schedule
Collection
on_call_schedules
Permissions
  • Lezenescalation_schedule_view
  • Aanmakenescalation_schedule_manage
  • Wijzigenescalation_schedule_manage
  • Verwijderenescalation_schedule_manage

Velden

On-Call Schedule Schema

on_call_schedules4 permissions

Schema for validating on-call schedule entities with rotation layers

namestringvereist

Schedule name

1–200 tekens
descriptionstringoptioneel

Schedule description

nullable
teamIduuidoptioneel

Linked team UUID

nullable
escalationPolicyIduuidoptioneel

Linked escalation policy UUID

nullable
rotationobjectvereist

Rotation configuration

typestringvereist

Rotation frequency

WEEKLYBIWEEKLYMONTHLYCUSTOM
startDatedatevereist

Rotation start date (ISO 8601 date)

handoffTimestringvereist

Time of day for handoff (HH:mm)

Pattern
handoffDayintegeroptioneel

Day of week for handoff (0=Sun, 6=Sat)

0 – 6nullable
layersobject[]vereist

On-call layers with escalation levels

_idstringoptioneel

UUIDv7 layer ID

read-only
namestringvereist

Layer name

levelintegervereist

Escalation level (1 = primary)

≥ 1
participantsobject[]vereist

Participants in rotation order

userIduuidvereist

Participant user UUID

sortOrderintegervereist

Rotation order within the layer

businessHoursProfileIduuidoptioneel

Business hours profile UUID for coverage windows

nullable
inboundPhoneNumberstringoptioneel

Inbound phone number in E.164 format

nullable
afterHoursRouteTypestringoptioneel

Routing behaviour outside business hours

ON_CALLVOICEMAILIVR
nullable
isActivebooleanvereist

Whether this schedule 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/on_call_schedules — Lijst, gepagineerd + filterbaar
  • GET /api/v1/on_call_schedules/<id> — Enkele entity
  • POST /api/v1/on_call_schedules — Aanmaken
  • PATCH /api/v1/on_call_schedules/<id> — Gedeeltelijke update
  • DELETE /api/v1/on_call_schedules/<id> — Soft-delete
  • GET /api/v1/on_call_schedules/<id>/timeline — Audit + activiteiten

Zoeken