Network Diagrams

Description

The Network Diagrams resource represents all the network diagrams under a Network Diagrams service. It is returned as an array of network diagram names. By default, only the diagrams in Default are returned.

Network Diagrams REST end point

License:
The ArcGIS Utility Network Management extension is required to use this resource.

Request Parameters

ParameterDetails
gdbVersion

Description: The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1

sessionId

Description: The token (guid) used to lock the version.

Syntax: sessionId=<guid>

Example: sessionId=44G259DE-87B0-407D-8F2E-DCB7665DD0F0

moment

Description: The session moment.

Syntax: moment=<moment>

Example: moment=1490867969324

f

Description: The response format. The default response format is html.

Values: <html | json>

Example Usage

Accessing the list of the network diagrams in the Default version: http://batz.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams?f=pjson

Accessing the list of the network diagrams in a specific version called 'ABV1'http://batz.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams?gdbversion=ABV1&f=pjson

JSON Response Syntax

{
 "diagramNames": ["<diagramName1>", ..., "<diagramNameN>"]
}

JSON Response Example

{
 "diagramNames": [
  "Test1",
  "Basic_RMT001",
  "Basic_RMT003",
  "Switching_SmarTree_RMT003",
  "Switching_SmarTree_RMT001",
  "Switching_ConnectedTest",
  "Test2",
  "007YTS15gh_smart",
  "ReducedDiagramAreaNorthWest"
 ]
}