API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

Create escalation_policie

POST/v1/escalation_policies

Create a new escalation_policie in the active tenant.

Datenmodell

Diese Operation arbeitet auf der Entität Escalation Policy (escalation_policy). Alle 8 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

  • Pflichtfelder: name, levels, isDefault, isActive
  • Server-verwaltet: _id, schema, schemaVersion, tenantId, version, createdAt, updatedAt, createdBy, updatedBy, deletedAt, deletedBy — diese Felder vergibt die Plattform; im Request werden sie verworfen.

Beispiel

curl -X POST https://api.codemeta-os.de/v1/escalation_policies \
  -H "X-Tenant-Id: $TENANT" \
  -b cookies.txt
const result = await cm.escalation_policies.post();

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche