AnsweredAssumed Answered

Update feature in feature service using rest

Question asked by modybsystematics-co-il-esridist Employee on Jun 22, 2017
Latest reply on Jun 28, 2017 by rvburton

Hello all

 

I am trying to use python to update a feature in a feature service.

In simple chrome my url is:

http://modyb-pc:6080/arcgis/rest/services/featureAccess/FeatureServer/0/applyEdits 

and my json in the update is:

[ {
"attributes" : {
"OBJECTID" : 1,
"CITYNAME" : "aaa"
}
} ]

(no adds).

This URL uses post only.

How do I call it from Python.

I have here: Using Python to Write Features to a Feature Service | Esri Australia Technical Blog  example of Add but the update is not the same 

 

Thanks

Outcomes