FRAMES | NO FRAMES Description | Parameters | Examples | Response
Mobile Layer
URL http://<mobileservice-url>/<layerId>
Parent Resource Mobile Service


The mobile layer resource represents a single layer in a mobile service published by ArcGIS Server. It provides basic information about the layer such as its ID, name, type, geometry type, fields, extent, data type, etc.

Resource Hierarchy

Mobile Layer


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

Values: html | json

Example Usage

Example 1: TODO

JSON Response Syntax

 "id": <layerId>,
 "name": "<layerName>",
 "type": "<layerType>",
 "description": "<description>",
 "geometryType": "<geometryType>",
 "minScale": <minScale>,
 "maxScale": <maxScale>,
 "extent": <envelope>,
 "dataType": "<dataType>",
 "featureDatasetName": "<featureDatasetName>",
 "featureClassName": "<featureClassName>",
 "displayField": "<displayField>",
 "fields": [
  { "name": "<fieldName1>", "type": "<fieldType1>", "alias": "<fieldAlias1>" },
  { "name": "<fieldName2>", "type": "<fieldType2>", "alias": "<fieldAlias2>" }

JSON Response Example

 "id": 0,
 "name": "wind",
 "type": "Feature Layer",
 "description": "",
 "geometryType": "esriGeometryPoint",
 "minScale": 0,
 "maxScale": 0,
 "extent": {
  "xmin": -84.44, "ymin": 36.82, "xmax": -69.30, "ymax": 44.34,
  "spatialReference": {"wkid": 104000}
 "dataType": "SDE Feature Class",
 "featureDatasetName": "servertest.MAP.JAVASAMPLE_USA",
 "featureClassName": "servertest.MAP.wind",
 "displayField": "ID",
 "fields": [
  { "name": "ID", "type": "esriFieldTypeInteger", "alias": null },
  { "name": "VELOCITY", "type": "esriFieldTypeInteger", "alias": null },
  { "name": "DIRECTION", "type": "esriFieldTypeInteger", "alias": null },
  { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }