Is it possible to use a where clause in an ArcGIS REST API POST to update attributes of a feature where a custom field as a unique value?
I have a field with unique values in it which I would like to use to identify which feature to update, rather than using ObjectId. The reason I don't want to use ObjectID is because that would require a preceding GET query to obtain the ObjectId, and that will slow down the overall processing, and will double the number of callouts consumed from my system's limit.
You could use Calculate instead.
https://developers.arcgis.com/rest/services-reference/enterprise/calculate-feature-service-layer/
You'd have to format the post differently, but it can update any and all fields on the layer, and includes a where parameter. You could use it to update individual features, with "where=unique_field='some_value'" to restrict the calculation.
Interesting. Thank you Josh. I'll give that a try.