Diagram Templates (Network Diagram service)
- URL:
https://<networkdiagramserver-url>/templates - Child Resources:Template
- Version Introduced: 10.6
Description
The Diagram Templates resource represents all the diagram templates under a Network Diagram service. It is returned as an array of template names.

License:The ArcGIS Utility Network Management extension
is required 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 |
| 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"
]
}