How to enable feature access can refer to a previously written blog: http://www.cnblogs.com/oceanking/p/3895257.html
This article focuses on a whole point of the layer, I do not know what the scientific name is called, too lazy to find, with the Worldcities map from ArcGIS, edit the cities layer.
First, find the rest URL
1. Note The main points in "Feature Access" and then click the rest URL link below.
2. Open the page to find layers: Click on the link to edit the layer, here click Cities.
3. Open the page to the bottom, you can see a variety of action links. This page does not close, the following various operations from this page point past.
Second, the operation
Notice that the 3rd page that you just opened, with fields defined as follows:
Where Objectid should be the primary key and will be generated automatically.
Fields marked as nullable:true can be filled without a value. The JSON format is as follows
[{"Geometry": {"X": $, "Y": +}, "attributes": {"City_name": "HelloWorld", "POP": 10000000}]
Yes, the value of attributes is the name of each field and its corresponding value, which is a record. Geometry represents the coordinates of this point, X is the longitude, and Y is the dimension.
1. Add a point:
Click "Add Features" to fill in the Features input box of the new page:
[{"Geometry": {"X": $, "Y": +}, "attributes": {"City_name": "HelloWorld", "POP": 10000000}]
Format Selection JSON
Click the "Add Features" button to complete.
If you see the page as shown below, it indicates success.
Where Objectid is the auto-generated ID of the point just added, this ID can be used to do the modification and delete operations.
Success:true indicates that the operation was successful.
2. Modification: Documents to be perfected
3. Delete: Document to be perfected
Feature access rest online editing layers using ArcGIS for server