Network Diagrams

URL:
https://<root>/<serviceName>/NetworkDiagramServer/diagrams
Methods:
POST
Child Resources:
Diagram
Version Introduced:
10.6

Description

The diagrams resource provides access to all network diagrams under a published 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

Request parameters

ParameterDetails

gdbVersion

The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1

sessionId

The token (guid) used to lock the version.

Syntax: sessionId=<guid>

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

moment

The session moment.

Syntax: moment=<moment>

Example: moment=1490867969324

f

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:

  • URL: https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams
  • Parameters: f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams?f=pjson

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

  • URL: https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams

  • Parameters

    1
    2
    gdbversion=ABV1
    f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams?gdbversion=ABV1&f=pjson

JSON Response syntax

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

JSON Response example

1
2
3
4
5
6
7
8
9
10
11
12
13
{
 "diagramNames": [
  "Test1",
  "Basic_RMT001",
  "Basic_RMT003",
  "Switching_SmarTree_RMT003",
  "Switching_SmarTree_RMT001",
  "Switching_ConnectedTest",
  "Test2",
  "007YTS15gh_smart",
  "ReducedDiagramAreaNorthWest"
 ]
}

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