Forrester's Total Economic Impact of Freshservice on IT Service Management Download Report
+1 (866) 832-3090
+91 (44) 6667 8040
+44 (800) 808 5790
+61 2 8188 4692
Hello ! I try to create note with attachments. I send request to "api/v2/tickets/'.$ticket_id.'/notes" through "POST" method similar as in sample for tickets:
https://github.com/freshdesk/fresh-samples/blob/master/PHP/create_ticket_with_multiple_attachments.php
But I get the error "Content-Type header is set to multipart/form-data. It should be set to application/json"
So how can I create note with multiple attachments ? Unfortunately I didn't find appropriate example in samples.
Also I have same problem with updating tickets - it's possible to update ticket just without attachments through "PUT" method.
Hi Dmitry,
Please reach out to Freshdesk forums for Freshdesk API related queries.
Thanks,
Janani V.
Dmitry Panov
Hello ! I try to create note with attachments. I send request to "api/v2/tickets/'.$ticket_id.'/notes" through "POST" method similar as in sample for tickets:
https://github.com/freshdesk/fresh-samples/blob/master/PHP/create_ticket_with_multiple_attachments.php
But I get the error "Content-Type header is set to multipart/form-data. It should be set to application/json"
So how can I create note with multiple attachments ? Unfortunately I didn't find appropriate example in samples.
Also I have same problem with updating tickets - it's possible to update ticket just without attachments through "PUT" method.