API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · escalation_policies

Escalation Policy Schema

ID del esquema
escalation_policy
Colección
escalation_policies
Permisos
  • Leerescalation_policy_view
  • Crearescalation_policy_manage
  • Modificarescalation_policy_manage
  • Eliminarescalation_policy_manage

Campos

Escalation Policy Schema

escalation_policies4 permisos

Schema for validating escalation policy entities with multi-level notification chains

namestringobligatorio

Policy name

1–200 caracteres
descriptionstringopcional

Policy description

admite null
conditionsobjectopcional

Conditions that must match for this policy to apply

admite null
prioritiesstring[]opcional

Alert priorities this policy applies to

customerTiersstring[]opcional

Customer tiers this policy applies to

afterHoursOnlybooleanopcional

Whether this policy only applies outside business hours

schemasstring[]opcional

Entity schemas this policy applies to (e.g. ticket, asset)

levelsobject[]obligatorio

Escalation levels in order

_idstringopcional

UUIDv7 level ID

solo lectura
levelintegerobligatorio

Escalation level (1 = first responder)

≥ 1
namestringobligatorio

Level display name

máx. 200 caracteres
recipientsobject[]obligatorio

Who to notify at this level

typestringobligatorio

Recipient type

USERON_CALLTEAMROLEPLACEHOLDER
refstringobligatorio

Reference ID (UUID or placeholder token)

labelstringopcional

Human-readable display label (cached for UI)

admite null
notificationStepsobject[]obligatorio

Ordered notification steps within this level

orderintegerobligatorio

Step execution order

channelstringobligatorio

Notification channel

PUSHEMAILCALLSMS
delayMinutesintegerobligatorio

Delay in minutes before sending this step

≥ 0
escalationTimeoutMinutesintegerobligatorio

Minutes to wait before escalating to next level

≥ 1
maxRetriesintegeropcional

Maximum notification retries at this level

≥ 0Valor por defecto: 2
retryIntervalMinutesintegeropcional

Minutes between retries

≥ 1Valor por defecto: 2
fallbackActionstringopcional

Action when all levels are exhausted without acknowledgement

NOTIFY_ALLCREATE_TICKETNONE
Valor por defecto: "NONE"
fallbackRecipientsobject[]opcional

Recipients for fallback action

Valor por defecto: []
typestringobligatorio

Recipient type

USERON_CALLTEAMROLEPLACEHOLDER
refstringobligatorio

Reference ID (UUID or placeholder token)

labelstringopcional

Human-readable display label (cached for UI)

admite null
isDefaultbooleanobligatorio

Whether this is the default escalation policy

isActivebooleanobligatorio

Whether this escalation policy is active

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/escalation_policies — Lista, paginada y filtrable
  • GET /api/v1/escalation_policies/<id> — Una entidad
  • POST /api/v1/escalation_policies — Crear
  • PATCH /api/v1/escalation_policies/<id> — Actualización parcial
  • DELETE /api/v1/escalation_policies/<id> — Eliminación lógica
  • GET /api/v1/escalation_policies/<id>/timeline — Auditoría y actividades

Búsqueda