Ticket Query Schema
Felder
Ticket Query Schema
Schema for validating technician→dispatch ticket queries (Rückfragen)
ticketId
UUID of the parent ticket the query belongs to
reason
Structured reason why dispatch had to be asked back (drives the KPI breakdown)
MISSING_INFOMISSING_ACCESSSCHEDULINGWRONG_ASSIGNMENTAPPROVAL_BUDGETOTHERquestion
The technician’s question to dispatch
status
OPEN until dispatch answers, then ANSWERED (set via the /answer route)
OPENANSWEREDassignedToId
Dispatcher expected to answer. Defaulted server-side on create from the ticket; may be reassigned via generic PATCH.
answer
Dispatch’s answer to the query
answeredById
UUID of the dispatcher who answered (set server-side from session)
answeredAt
Timestamp the query was answered; null while OPEN
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/ticket_queries— Liste, paginiert + filterbarGET /api/v1/ticket_queries/<id>— Einzelne EntityPOST /api/v1/ticket_queries— AnlegenPATCH /api/v1/ticket_queries/<id>— Teil-UpdateDELETE /api/v1/ticket_queries/<id>— Soft-DeleteGET /api/v1/ticket_queries/<id>/timeline— Audit + Aktivitäten