Skip To Content
ArcGIS Developer
Dashboard

Diagram Templates (Network Diagram service)

Description

The Diagram Templates resource represents all the diagram templates under a Network Diagram service. It returns an array of template names.

Conceptual representation of Diagram Templates resource
License:
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

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

f

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

Values: <html | json>

Example usage

https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/templates?f=pjson

JSON Response syntax

{
 "templates": ["< templateName1 >", ..., "< templateNameN >"]
}

JSON Response example

{
 "templates": [
  "Basic",
  "ExpandContainers",
  "CollapseContainers",
  "ReducedDiagrams",
  "SwitchingDiagram",
  "AutoSmartTree"
 ]
}