Network Diagrams

Description

The Network Diagrams resource represents all the network diagrams under a Network Diagram 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
LicenseLicense:
The active portal account must be licensed with the ArcGIS Utility Network user type extension or the ArcGIS Trace Network user type extension to use this resource.

Request parameters

Parameter

Details

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

Access the list of the network diagrams in the Default version:

Access the list of the network diagrams in a specific version called ABV1:

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"
 ]
}