How to post new choices for ticket custom fields

  • 13 November 2018
  • 0 replies
  • 25 views

Our Freshdesk implementation has two custom fields for tickets.  So for example we have 140 services and 50 project choices in two custom fields.

I want to programmatically upload new choices to the fields, but I can't figure out which POST method/JSON syntax to use for uploading new choices?

I thought it might be a POST to "{me}.freshdesk.com/api/v2/ticket_fields" and maybe a json like:

{"id":43001179195,"choices":["choice1","choice2","choice3 etc"]}

But of course this doesn't work, the URL is expecting a GET only.



This topic has been closed for comments