FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<catalog-url>/<serviceName>/FeatureServer |
---|---|
Parent Resource | Catalog |
Child Resources | Layer |
A feature service allows clients to query and edit features. Features include geometry, attributes and symbology and are organized into layers and sub types within a layer.
The REST API feature service resource represents a feature service published with ArcGIS Server. This resource provides basic information about the feature service including the feature layers and tables that it contains, the service description, etc.
Parameter | Details |
---|---|
f | Description: The
response format. The default response format is html. Values: html | json |
Example 1: URL for the "311Incidents" feature service on sampleserver3.
http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer?f=pjson{ "currentVersion": <currentVersion>, //Added at 10.0 SP1 "serviceDescription": "<serviceDescription>", //the feature layers published by this service "layers": [ { "id": <layerId1>, "name": "<layerName1>" }, { "id": <layerId2>, "name": "<layerName2>" } ], //the non-spatial tables published by this service "tables": [ { "id": <tableId1>, "name": "<tableName1>" }, { "id": <tableId2>, "name": "<tableName2>" } ] }
{
"currentVersion": 10.01, "serviceDescription": "Edit parcels, buildings and owner information.", "layers": [ { "id": 0, "name": "Parcels" } { "id": 1, "name": "Buildings" } ], "tables": [ { "id": 3, "name": "Owners" } ] }