Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
Promise<ServiceDescription> | Retrieve a description of the network service. more details | networkService |
Method Details
-
fetchServiceDescription(url, apiKey, requestOptions){Promise<ServiceDescription>}
-
Retrieve a description of the network service.
Parametersurl StringURL to the ArcGIS Server REST resource that represents a network analysis service.
apiKey StringoptionalAn authorization string used to access a resource or service (see API keys).
requestOptions ObjectoptionalAdditional options to be used for the data request (will override requestOptions defined during construction).
ReturnsType Description Promise<ServiceDescription> Returns service description.
Type Definitions
-
ServiceDescription Object
-
The network service description.
- Properties
-
currentVersion Number
Server version.
defaultTravelMode TravelModeDefault travel mode.
supportedTravelModes TravelMode[]Available travel modes.