FRAMES | NO FRAMES Description | Parameters | Examples | Response
Feature Service

This is an archive of a previous version of the ArcGIS REST API. The current version can be found at http://resources.arcgis.com/en/help/arcgis-rest-api/

URL http://<catalog-url>/<serviceName>/FeatureServer
Parent Resource Catalog
Child Resources Layer

Description

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.

Resource Hierarchy

Map Service

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: URL for the "311Incidents" feature service on sampleserver3.

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer?f=pjson

JSON Response Syntax

{
  "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>" }
  ]
}

JSON Response Example

{
"currentVersion": 10.01, "serviceDescription": "Edit parcels, buildings and owner information.", "layers": [ { "id": 0, "name": "Parcels" } { "id": 1, "name": "Buildings" } ], "tables": [ { "id": 3, "name": "Owners" } ] }