Using the API and the UpdateTicketField how do I add a choice to the existing dependant field

We are integrating FreskDesk tickets into our RCM platform. When a new asset is created, we need to programatically add that item to a three level dependent field e.g.

“Bobs Company”
“Platform 1”
“unitXXX1”

There are multiple items at level 2 and three for “Bobs company”. When I try to update the field I cannot include any pre-existing choices as the validation fails on the ID. How do I add a second or third level choice?

Hi @DParsons,

Welcome to the community :tada:

You can use the get fields API and filter the field by Id or name.

Then you can append the third option based on your logic and update the field using field update API

Hope that helps!

Let us know otherwise.

Thank you.
Have a great day ahead.