I am trying to develop an API interface to link two systems. Specifically, I need to be able to QUERY a Table and Append to the table. The Quesry works great and I get back the Table's definition and the data.
"https://services2.arcgis.com/Item_ID/ArcGIS/rest/services/Table_Name/FeatureServer/0/query?&token=....."
Postdata = "&f=json&objectIds=" . $featureId . "&outFields=Fielda,Fieldb,FID";
But, I am unable to find an example of what the JSON Postdata needs to be for the addFeatures Post.
"https://services2.arcgis.com/Item_ID/ArcGIS/rest/services/Table_Name/FeatureServer/0/addFeatures?"
By the way, the query gives me {Root}.features[0].attributes{"Field":data}
Any pointers to the right documentation or some samples would be appreciated.
TIA..
PS: The customer has specified that this is a PHP solution using curl and a Python solution.