Escalation Rule Schema
Champs
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
Aucun champ ne correspond au filtre.
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/escalation_rules— Liste, paginée et filtrableGET /api/v1/escalation_rules/<id>— Une entitéPOST /api/v1/escalation_rules— CréerPATCH /api/v1/escalation_rules/<id>— Mise à jour partielleDELETE /api/v1/escalation_rules/<id>— Suppression logiqueGET /api/v1/escalation_rules/<id>/timeline— Audit et activités