Edit Non-Spatial SDE Table

663
1
02-14-2013 06:33 AM
BrianLord1
Occasional Contributor
I have a stand alone non-spatial table in SDE and registered as versioned that I am having issues trying to edit.  I have published this table as part of a feature service.

I was trying to do some editing for this service through the updateFeature rest end point, but no matter how I formatted the input I always got the same error. "Invalid Graphic features"  I have never tried to edit a non-spatial table this way before so I am not sure if I was entering the info correctly. 

Here is what entered in the "Features" box at the updateFeature rest end point.
[{"geometry":{null},"attributes":{"OBJECTID": 1,"SurveyorID": 14,"SpecificDate": "11/16/1874","Book": 
"A","PageNum": 29,"DocLink": "BKA029.pdf","SurveyNum": 32,"Section": 29,"Township": 34,"Range": 28,
"EstimatedDate": "N/A","CntyRemarks": "Test"})]


Any suggestions or info would be greatly appreciated.
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
you shouldn't include geometry. you also have added geometry property in your json
see http://resources.arcgis.com/en/help/rest/apiref/fsupdate.html

"... Records to be added to a table should not include the geometry..."
0 Kudos