我正在尝试使用 Postman 中的 freshdesk api ( https://freshdesk.com/api#create_ticket ) 创建票证。
我使用了以下内容:https://companyname.freshdesk.com/helpdesk/tickets.json
{ "helpdesk_ticket":
{ "description": "Details about the issue..."
, "subject": "Support Needed..."
, "email": "<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="295d464469465c5d4c5b5a59484a4c074a4644" rel="noreferrer noopener nofollow">[email protected]</a>"
, "priority": 1
, "status": 2
}
, "cc_emails": "<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7301121e33150116001b171600185d101c1e" rel="noreferrer noopener nofollow">[email protected]</a>,<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fd99949c939cbd9b8f988e9599988e96d39e9290" rel="noreferrer noopener nofollow">[email protected]</a>"
}
我只收到以下回复:
{
"logout": "success"
}
我已多次尝试清除浏览器缓存。但问题仍然是一样的。请有人建议。
最佳答案
这一定是提出问题时的一个错误。
现在API已经更新并且运行顺利,您的端点应该是https://yoururl.freshdesk.com/api/v2/tickets header 中包含授权 token
关于api - 尝试在 postman 中使用 freshdesk API 创建票证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34334291/