好吧,我已经尝试过 Freshdesk api ( http://freshdesk.com/api#create_ticket )中提到的所有东西来创建新票但没有成功,
这是我在 RESTClient 中创建票证的操作:
方法:POST URL:https ://milliontech.freshdesk.com/helpdesk/tickets.json
Headers: Content-type:application/json Authorization:(Basic Authorization using APIKEY:X)
请求正文:
{
"helpdesk_ticket":{
"description":"I am not able to create this ticket... bla bla bla",
"subject":"Urgenta",
"email":"toma@outerworlda.com",
"priority":1,
"status":2
},
"cc_emails":"rama@freshdeska.com,diana@freshdeska.com"
}
这是回应:
{
"logout": "success"
}
我也尝试使用 curl 命令创建新票,但结果相似。