Network Service

Description

The routing services resource represents routing services published with ArcGIS Server. The resource provides information about the service such as the service description and the various network layers (route, closest facility, and service area layers) contained in the routing services.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Below is a sample request URL for the routing services resource:

1
https://machine.domain.com/webadaptor/rest/services/NetworkAnalysis/SanDiego/NAServer?f=pjson

JSON Response syntax

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "currentVersion": <currentVersion>, //Added at 10.0 SP1
  "serviceDescription": "<serviceDescription>",
  "routeLayers": [
    "<routeLayerName1>",
    "<routeLayerName2>"
  ],
  "serviceAreaLayers": [
    "<serviceAreaLayerName1>",
    "<serviceAreaLayerName2>"
  ],
  "closestFacilityLayers": [
    "<closestFacilityLayerName1>",
    "<closestFacilityLayerName2>"
  ]
}

JSON Response example

1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "currentVersion": 10.8,
  "serviceDescription": "Test Map and Network Service Description",
  "routeLayers": [
    "Route"
  ],
  "serviceAreaLayers": [
    "Service Area"
  ],
  "closestFacilityLayers": [
    "Closest Facility"
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close