我正在尝试从android应用程序更新已创建票证的说明,请告诉我如何更新已创建票证数据
我尝试了以下网址:
https:// {subdomain} .zendesk.com / api / v2 / tickets / 79.json \ -H“内容类型:application / json” \ -d'{“ ticket”:{“ status”:“ open”,“ comment”:{“ body”:“烟雾很浓。”,“ author_id”:494820284}}}''\ -v -u xxx@xxx.com/token:xxxxxxxxxxxxxxxx -X PUT
答案 0 :(得分:0)
根据Zendesk's API documentation-
,我认为您无法更新说明。说明和第一条评论
When creating a ticket, use the comment key to set the ticket description, which is also the first comment. Example:
{"ticket": {"subject": "My printer is on fire!", "comment": {"body": "The smoke is very colorful."}}}
Note: Do not use the description key to set the first comment. The key is for reading purposes only. While it's possible to use the key to set the first comment, the functionality has limitations and is provided to support existing implementations.
对于最终用户更新票证:最终用户可以进行的更新数量非常有限,例如添加评论和更改票证的状态。可能还有其他几个,但最终用户无法更改自定义字段,票证类型,组和受让人之类的内容。