FRAMES | NO FRAMES Description | Parameters | Examples | Response
Mobile Service
URL http://<catalog-url>/<serviceName>/MobileServer
Parent Resource Catalog
Child Resources Mobile Layer

Description

The mobile service resource represents a mobile service published with ArcGIS Server. The resource provides information about the service such as the service description, spatial reference, intial and full extents, and the various layers contained in the published map document.

Resource Hierarchy

Mobile Service

Parameters

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

Values: html | json

Example Usage

Example 1: TODO

JSON Response Syntax

{
 "serviceDescription": "<serviceDescription>",
 "mapName": "<mapName>",
 "description": "<description>",
 "layers": [
  { "id": <layerId1>, "name": "<layerName1>" },
  { "id": <layerId2>, "name": "<layerName2>" }
 ],
 "spatialReference": <spatialReference>,
 "initialExtent": <envelope>,
 "fullExtent": <envelope>,
 "units": "<units>"
}

JSON Response Example

{
 "serviceDescription": "Test Mobile Service Description",
 "mapName": "Layers",
 "description": "",
 "layers": [
  { "id": 0, "name": "wind" },
  { "id": 1, "name": "ushigh" },
  { "id": 2, "name": "counties" }
 ],
 "spatialReference": {"wkid": 104000},
 "initialExtent": {
  "xmin": -183.78, "ymin": -18.81, "xmax": -61.40, "ymax": 109.14,
  "spatialReference": {"wkid": 104000}
 },
 "fullExtent": {
  "xmin": -183.78,"ymin": 16.30,"xmax": -61.40, "ymax": 74.03,
  "spatialReference": {"wkid": 104000}
 },
 "units": "esriDecimalDegrees"
}