更新智能体对话工单

更新工单的标题、评论、状态、优先级和/或受理人。需要拥有该工单智能体的编辑权限。

路径参数

agentqa_ticket_idstring必需

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
titlestring or null可选1-120 characters

提供后,更新工单标题。省略则保持不变。

statusenum or null可选

提供后,更新工单状态。省略则保持不变。

允许的值:
assignee_user_idstring or null可选

提供后,更新负责解决此工单的人员。必须是对该智能体至少拥有查看者权限的工作区成员。传入 null 可取消分配。省略则保持不变。

priorityenum or null可选

提供后,更新工单需要处理的紧急程度。传入 null 可清除。省略则保持不变。

允许的值:

响应

成功响应

agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
titlestring or null

工单的一行标题。仅在标题功能推出前创建的工单中为 None。

issue_typeenum or null
labelslist of strings
conversation_idslist of strings
first_seen_unix_secsinteger or null
last_seen_unix_secsinteger or null
qa_commentstring or null
ticket_commentslist of objects
turn_commentslist of objects
statusenum
允许的值:
priorityenum or null
允许的值:
priority_changeslist of objects
sourceenum
允许的值:
assignee_user_idstring or null
created_at_unix_secsinteger
updated_at_unix_secsinteger

错误

422
Unprocessable Entity Error