API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · ticket_types

Ticket Type Schema

Schema-ID
ticket_type
Collection
ticket_types
Permissions
  • Lezenticket_type_view
  • Aanmakenticket_type_create
  • Wijzigenticket_type_edit
  • Verwijderenticket_type_delete

Velden

Ticket Type Schema

ticket_types4 permissions

Schema for validating ticket type (Ticket-Typ) entities

keystringoptioneel

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.

max. 40 tekensPatternnullable
namestringvereist

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

1–100 tekens
descriptionstringoptioneel

Short description shown in settings / tooltip

max. 500 tekensnullable
colorstringoptioneel

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

Patternnullable
iconstringoptioneel

MUI icon name

max. 50 tekensnullable
isActivebooleanvereist

Whether this ticket type is available for selection

Default: true
isDefaultbooleanoptioneel

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.

Default: false
sortOrderintegeroptioneel

Display sort order in UI dropdowns

≥ 0Default: 0
defaultServiceTypeIduuidoptioneel

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

nullable
keepTeamOnReassignmentbooleanoptioneel

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.

Default: false
skipCustomerApprovalbooleanoptioneel

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.

Default: false
skipCreateConfirmationbooleanoptioneel

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".

Default: false
defaultBudgetobjectoptioneel

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

nullable
capMinutesintegeroptioneel

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

≥ 0nullable
capDisplayUnitstringoptioneel

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

MINUTESHOURSEUR
nullable
capDisplayValuestringoptioneel

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

Patternnullable
capHourlyRateEurstringoptioneel

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

Patternnullable
lockStatusKeystringoptioneel

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.

max. 100 tekensnullable
warnPercentintegeroptioneel

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 – 1000nullable
lockPercentintegeroptioneel

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

1 – 1000nullable

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/ticket_types — Lijst, gepagineerd + filterbaar
  • GET /api/v1/ticket_types/<id> — Enkele entity
  • POST /api/v1/ticket_types — Aanmaken
  • PATCH /api/v1/ticket_types/<id> — Gedeeltelijke update
  • DELETE /api/v1/ticket_types/<id> — Soft-delete
  • GET /api/v1/ticket_types/<id>/timeline — Audit + activiteiten

Zoeken