【问题标题】:How to update ticket description in zendesk from application如何从应用程序更新 zendesk 中的票证描述
【发布时间】:2019-01-30 06:14:46
【问题描述】:

我正在尝试从 android 应用程序更新已创建票证的描述,请告诉我如何更新已创建票证数据

我试过这个网址:

https://{子域}.zendesk.com/api/v2/tickets/79.json \ -H“内容类型:应用程序/json”\ -d '{"ticket": {"status": "open", "comment": { "body": "烟雾很五颜六色。", "author_id": 494820284 }}}' \ -v -u xxx@xxx.com/token:xxxxxxxxxxxxxxxxxx -X PUT

【问题讨论】:

  • 您好,您是使用 Zendesk 的移动 SDK 还是尝试使用 Rest API?
  • @Sebastian 我在他们的文档中使用了 rest api 我发现只有代理可以通过 api 编辑票证数据,最终用户可以更改他们的票证数据吗?

标签: android zendesk


【解决方案1】:

我不相信你能够更新描述,每个 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.

至于最终用户更新工单:最终用户可以进行的更新数量非常有限,例如添加评论和更改工单状态。可能还有其他几个,但最终用户无法更改自定义字段、工单类型、组和受让人等内容。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多