Update ticket

Update a ticket’s title, comment, status, priority, and/or assignee. Requires editor access to the ticket’s agent.

Parametry ścieżki

agentqa_ticket_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
titlestringOpcjonalny1-120 characters
If provided, updates the ticket title. Omit to leave unchanged.
statusenumOpcjonalny
If provided, updates the ticket status. Omit to leave unchanged.
Dozwolone wartości:
assignee_user_idstringOpcjonalny
If provided, updates who is responsible for resolving this ticket. Must be a workspace member with at least viewer access to the agent. Pass null to unassign. Omit to leave unchanged.
priorityenumOpcjonalny
If provided, updates how urgently the ticket needs attention. Pass null to clear it. Omit to leave unchanged.
Dozwolone wartości:

Odpowiedź

Successful Response
agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
labelslist of strings
conversation_idslist of strings
ticket_commentslist of objects
turn_commentslist of objects
statusenum
Dozwolone wartości:
priority_changeslist of objects
sourceenum
Dozwolone wartości:
created_at_unix_secsinteger
updated_at_unix_secsinteger
titlestringOpcjonalny

One-line headline for the ticket. None only on tickets created before titles existed.

issue_typeenumOpcjonalny
first_seen_unix_secsintegerOpcjonalny
last_seen_unix_secsintegerOpcjonalny
qa_commentstringOpcjonalny
priorityenumOpcjonalny
Dozwolone wartości:
assignee_user_idstringOpcjonalny

Błędy

422
Triage Tickets Update Request Unprocessable Entity Error