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

Ticket Type Schema

ID del esquema
ticket_type
Colección
ticket_types
Permisos
  • Leerticket_type_view
  • Crearticket_type_create
  • Modificarticket_type_edit
  • Eliminarticket_type_delete

Campos

Ticket Type Schema

ticket_types4 permisos

Schema for validating ticket type (Ticket-Typ) entities

keystringopcional

Machine key stored on tickets (e.g. INCIDENT, REPAIR). Used for SLA tier matching and worker classification. Defaults to a slug derived from the name when omitted.

máx. 40 caracteresPatrónadmite null
namestringobligatorio

Display label (e.g. Störung, Anfrage)

1–100 caracteres
descriptionstringopcional

Short description shown in settings / tooltip

máx. 500 caracteresadmite null
colorstringopcional

Display color as hex (e.g. #18cc63)

Patrónadmite null
iconstringopcional

MUI icon name

máx. 50 caracteresadmite null
isActivebooleanobligatorio

Whether this ticket type is available for selection

Valor por defecto: true
isDefaultbooleanopcional

Whether this is the tenant-level default ticket type pre-selected when creating a ticket. Only one ticket type per tenant should be the default.

Valor por defecto: false
sortOrderintegeropcional

Display sort order in UI dropdowns

≥ 0Valor por defecto: 0
defaultServiceTypeIduuidopcional

Default service type (Leistungstyp) pre-selected when recording time on a ticket of this type. Takes priority over the user lastServiceType preference.

admite null
keepTeamOnReassignmentbooleanopcional

When true, tickets of this type keep an already set orgUnitId: linking a customer or an automatic dispatch assignment does not move them to the customer’s / assignee’s team. An empty team is still filled.

Valor por defecto: false
skipCustomerApprovalbooleanopcional

When true, newly created tickets of this type skip the customer approval before processing (create-trigger approval policy) and start in the normal initial status. Tickets already waiting for approval are not affected.

Valor por defecto: false
skipCreateConfirmationbooleanopcional

When true, newly created tickets of this type send no customer confirmation (Eingangsbestätigung), even if the tenant-wide or the customer rule has it switched on. A person can still send it with "Jetzt senden".

Valor por defecto: false
defaultBudgetobjectopcional

Default budget cap auto-applied to tickets of this type on create

admite null
capMinutesintegeropcional

Default hard budget cap in minutes for tickets of this type. Mirrors ticket.budget.capMinutes.

≥ 0admite null
capDisplayUnitstringopcional

How the default cap was entered (round-trip). Mirrors ticket.budget.capDisplayUnit.

MINUTESHOURSEUR
admite null
capDisplayValuestringopcional

Original default cap value as entered. Mirrors ticket.budget.capDisplayValue.

Patrónadmite null
capHourlyRateEurstringopcional

Hourly rate used to convert an EUR default cap to minutes. Mirrors ticket.budget.capHourlyRateEur.

Patrónadmite null
lockStatusKeystringopcional

Optional ticket status the ticket is auto-transitioned into when the cap is reached (the "locked" status). Must be a known status of the ticket workflow. Falls back to the tenant-wide default when unset.

máx. 100 caracteresadmite null
warnPercentintegeropcional

ADR 0549 — percentage of the cap at which the warning fires for tickets of this type. Wins over the tenant-wide default. Unset ⇒ tenant default ⇒ 80 %.

1 – 1000admite null
lockPercentintegeropcional

ADR 0549 — percentage of the cap at which tickets of this type lock. Wins over the tenant-wide default. Unset ⇒ tenant default ⇒ 100 %.

1 – 1000admite null

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

Búsqueda