[英]Trying to create a ticket using freshdesk API in postman
I am trying to create a ticket using the freshdesk api ( https://freshdesk.com/api#create_ticket ) in Postman.我正在尝试使用 Postman 中的 freshdesk api ( https://freshdesk.com/api#create_ticket ) 创建票证。
I have used the following: https://companyname.freshdesk.com/helpdesk/tickets.json我使用了以下内容: https : //companyname.freshdesk.com/helpdesk/tickets.json
{ "helpdesk_ticket":
{ "description": "Details about the issue..."
, "subject": "Support Needed..."
, "email": "tom@outerspace.com"
, "priority": 1
, "status": 2
}
, "cc_emails": "ram@freshdesk.com,diana@freshdesk.com"
}
I am getting following response only:我只收到以下回复:
{
"logout": "success"
}
I have tried clearing my browser cache many times.我曾多次尝试清除浏览器缓存。 But the issue remains the same.但问题还是一样。 Please someone suggest.请有人建议。
This must be a bug at the time the question is raised.这一定是提出问题时的错误。
Now the API has been updated and it works smoothly, your endpoint should be https://yoururl.freshdesk.com/api/v2/tickets with Authorization Token in the header现在 API 已经更新并且运行顺利,您的端点应该是https://yoururl.freshdesk.com/api/v2/tickets ,标题中带有 Authorization Token
我也遇到了同样的问题但是当我创建 ssl 登录并从 curl 检查时,它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.