简体   繁体   English

Freshdesk API:票证类型

[英]Freshdesk API : types of a ticket

I have a problem. 我有个问题。 How can I get available types of tickets 我如何获得可用的门票类型

在此处输入图片说明

and type of certain ticket to make field to update type through API ? 某些票据的类型和类型,以使字段通过API更新类型?

When I get info about a ticket I get this just as plain text 当我获得有关机票的信息时,我得到的只是纯文本

在此处输入图片说明

That's because you are making a GET request to view the details of a ticket. 那是因为您正在发出GET请求以查看故障单的详细信息。 That will display the type which the ticket belongs to. 这将显示票证所属的类型。

You need to make a GET request to list all the ticket fields. 您需要发出GET请求以列出所有票证字段。 Refer . 请参阅

Then if you want to create a ticket with a specific type, mention one of the values you got from the above GET request for ticket fields and create a ticket. 然后,如果要创建具有特定类型的票证,请提及从上述GET请求中获得的票证字段值之一,并创建一个票证。

This should help! 这应该有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM