FRAMES | NO FRAMES
Network Service
URL http://<catalog-url>/<serviceName>/NAServer
Parent Resource Catalog
Child Resources Network Layer

Description

The network service resource represents a network analysis service 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 network analysis service.

Resource Hierarchy

Network Service

Parameters

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

Values: html | json

JSON Response Syntax

{
"currentVersion": <currentVersion>, //Added at 10.0 SP1
"serviceDescription" : "<serviceDescription>",
"routeLayers": [ "<routeLayerName1>", "<routeLayerName2>" ],
"serviceAreaLayers": [ "<serviceAreaLayerName1>", "<serviceAreaLayerName2>" ],
"closestFacilityLayers": [ "<closestFacilityLayerName1>", "<closestFacilityLayerName2>" ]
}

JSON Response Example

{
"currentVersion": 10.01,
"serviceDescription" : "Test Map and Network Service Description",
"routeLayers": [ "Route" ],
"serviceAreaLayers": [ "Service Area" ],
"closestFacilityLayers": [ "Closest Facility" ]
}