Update_Definition? Or  Add_to_Definition?

Discussion created by roialga on Jun 26, 2017
Latest reply on Jun 26, 2017 by rvburton


I am using the ArcGIS Rest APIs for a long time and I can't get to figure out what is the correct endpoint? And syntax? for adding a coded value to a domain. I have a list of around 5000 values in a domain and I am building a python script that will add one more code and value to that list, but I can't succeed.

So what I am asking is to use the Update_Definition? Or the Add_to_Definition? And if I can append a code and a value to the list or I need to post the all list? Did anyone have a success in doing so?

Thank you all,