FRAMES | NO FRAMES Description | Parameters | Examples | Response
Feature Service (admin)
URL http://<adminservicecatalog-url>/<serviceName>.FeatureServer
Supported Operations Start  Stop  Edit  Delete  Status   Refresh
Parent Resource Catalog
Child Resources Layer

Description

A feature service can contain datasets (e.g. tables, views) with and without a spatial column.  Datasets with a spatial column are considered layers and without a spatial column are considered tables.  A feature service allows clients to query and edit feature geometry and attributes.

The REST API administrative feature service resource represents a feature service published to an ArcGIS Spatial Data Server. This resource provides basic information about the feature service including the feature layers and tables that it contains, the service description, etc.  The administrative feature service resource maintains a set of operations that manage the state and contents of the service.  Note, query and edit operations are not available via the adminstrative resource.

Parameters

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

Values: html | json

Example Usage

Example 1: URL for the "USA" feature service on sampleserver10.

http://sampleserver10.arcgisonline.com/arcgis/admin/services/WorldDataService.FeatureServer?f=pjson

JSON Response Syntax

{
  "serviceDescription": "<serviceDescription>",
  "supportsRollbackOnFailures": <true | false>, 
  "layers": [
    { "id": <layerId1>, "name": "<layerName1>" },
    { "id": <layerId2>, "name": "<layerName2>" }
  ],
  "tables": [
    { "id": <tableId1>, "name": "<tableName1>" },
    { "id": <tableId2>, "name": "<tableName2>" }
  ]
}

JSON Response Example

{
  "adminServiceInfo" : {
    "name" : "WorldService", 
    "type" : "FeatureServer", 
    "status" : "Started", 
    "database" : {
      "datasource" : {
        "name" : "pima_demo_dbadmin"
      }
    }
  }, 
  "currentVersion" : 10.1, 
  "serviceDescription" : "", 
  "supportsRollbackOnFailure" : true, 
  "supportsDisconnectedEditing" : false, 
  "maxRecordCount" : 1000, 
  "supportedQueryFormats" : "JSON", 
  "capabilities" : "Create,Delete,Query,Update,Editing", 
  "description" : "", 
  "copyrightText" : "", 
  "spatialReference" : {
    "wkid" : 4326
  }, 
  "initialExtent" : {
    "xmin" : -13.9202362025, 
    "ymin" : 22.5626337970833, 
    "xmax" : 16.9905602605, 
    "ymax" : 15.023279295466, 
    "spatialReference" : {
      "wkid" : 4326
    }
  }, 
  "fullExtent" : {
    "xmin" : -176.151563636, 
    "ymin" : -54.792, 
    "xmax" : 179.221887694, 
    "ymax" : 78.200001124, 
    "spatialReference" : {
      "wkid" : 4326
    }
  }, 
  "units" : "esriDecimalDegrees", 
  "layers" : [
    {
      "adminLayerInfo" : {
        "tableName" : "Demo.dbo.WORLDCITIES", 
        "geometryField" : {"name" : "Shape"}, 
        "tableExtent" : {
          "xmin" : -176.151563636, 
          "ymin" : -54.792, 
          "xmax" : 179.221887694, 
          "ymax" : 78.200001124, 
          "spatialReference" : 
          {
            "wkid" : 4326, 
            "wkt" : "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]]", 
            "sdesrid" : 4326
          }
        }
      }, 
      "id" : 0, 
      "name" : "Demo.dbo.WORLDCITIES", 
      "type" : "Feature Layer", 
      "displayField" : "CITY_NAME", 
      "description" : "", 
      "copyrightText" : "", 
      "supportsRollbackOnFailure" : true, 
      "geometryType" : "esriGeometryPoint", 
      "minScale" : 0, 
      "maxScale" : 0, 
      "extent" : {
        "xmin" : -176.151563636, 
        "ymin" : -54.792, 
        "xmax" : 179.221887694, 
        "ymax" : 78.200001124, 
        "spatialReference" : {
          "wkid" : 4326
        }
      }, 
      "drawingInfo" : {
        "renderer" : 
        {
          "type" : "simple", 
          "symbol" : 
          {
            "type" : "esriSMS", 
            "style" : "esriSMSCircle", 
            "color" : [
              0, 
              166, 
              116, 
              255
            ], 
            "size" : 4, 
            "angle" : 0, 
            "xoffset" : 0, 
            "yoffset" : 0, 
            "outline" : 
            {
              "color" : [
                0, 
                0, 
                0, 
                255
              ], 
              "width" : 1
            }
          }, 
          "label" : "", 
          "description" : ""
        }, 
        "transparency" : 0, 
        "labelingInfo" : null
      }, 
      "hasAttachments" : false, 
      "htmlPopupType" : "esriServerHTMLPopupTypeAsHTMLText", 
      "objectIdField" : "OBJECTID", 
      "globalIdField" : "", 
      "typeIdField" : "", 
      "fields" : [
        {
          "name" : "OBJECTID", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "OBJECTID", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : false, 
          "editable" : false, 
          "domain" : null
        }, 
        {
          "name" : "CITY_NAME", 
          "type" : "esriFieldTypeString", 
          "alias" : "CITY_NAME", 
          "sqlType" : "sqlTypeNVarchar", "length" : 30, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }
        {
          "name" : "FIPS_CNTRY", 
          "type" : "esriFieldTypeString", 
          "alias" : "FIPS_CNTRY", 
          "sqlType" : "sqlTypeNVarchar", "length" : 2, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "CNTRY_NAME", 
          "type" : "esriFieldTypeString", 
          "alias" : "CNTRY_NAME", 
          "sqlType" : "sqlTypeNVarchar", "length" : 30, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "STATUS", 
          "type" : "esriFieldTypeString", 
          "alias" : "STATUS", 
          "sqlType" : "sqlTypeNVarchar", "length" : 50, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "POP_RANK", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "POP_RANK", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "POP_CLASS", 
          "type" : "esriFieldTypeString", 
          "alias" : "POP_CLASS", 
          "sqlType" : "sqlTypeNVarchar", "length" : 22, 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "PORT_ID", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "PORT_ID", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }, 
        {
          "name" : "LABEL_FLAG", 
          "type" : "esriFieldTypeInteger", 
          "alias" : "LABEL_FLAG", 
          "sqlType" : "sqlTypeInteger", 
          "nullable" : true, 
          "editable" : true, 
          "domain" : null
        }
      ], 
      "types" : [], 
      "templates" : [
        {
          "name" : "Demo.dbo.WORLDCITIES", 
          "description" : "", 
          "drawingTool" : "esriFeatureEditToolPoint", 
          "prototype" : {
            "attributes" : {
              "LABEL_FLAG" : null, 
              "CITY_NAME" : null, 
              "GMI_ADMIN" : null, 
              "ADMIN_NAME" : null, 
              "FIPS_CNTRY" : null, 
              "CNTRY_NAME" : null, 
              "STATUS" : null, 
              "POP_RANK" : null, 
              "POP_CLASS" : null, 
              "PORT_ID" : null
            }
          }
        }
      ], 
      "supportedQueryFormats" : "JSON", 
      "maxRecordCount" : 1000, 
      "capabilities" : "Create,Delete,Query,Update,Editing"
    }
  ]
}