Escalation Rule Schema
Velden
Escalation Rule Schema
Schema-agnostic escalation rule. Targets any entity (callback, opportunity, complaint, …) with a deadline field, evaluates guards on a cron, and queues alerts/actions when guards match.
name
Display name (e.g. "Rückruf-Eskalation Stufe 1")
description
appliesTo
Entity schema ID this rule applies to (e.g. "callback", "opportunity")
deadlineField
Optional name of a date/date-time field on the target entity used by deadline_overdue / deadline_in guards
sortOrder
guards
AND-combined guard predicates. All must match for actions to fire.
escalationPolicyId
Optional escalation policy that drives the multi-level alert flow. If null, only direct rule-level actions fire.
priority
Priority used when creating alerts. If null, the entity's own priority field is used (or NORMAL).
LOWNORMALHIGHCRITICALisDefault
Whether this is a default rule for the appliesTo schema
Geen velden komen overeen met het filter.
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/escalation_rules— Lijst, gepagineerd + filterbaarGET /api/v1/escalation_rules/<id>— Enkele entityPOST /api/v1/escalation_rules— AanmakenPATCH /api/v1/escalation_rules/<id>— Gedeeltelijke updateDELETE /api/v1/escalation_rules/<id>— Soft-deleteGET /api/v1/escalation_rules/<id>/timeline— Audit + activiteiten