Diagram Templates

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

Description

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

Conceptual representation of Diagram Templates resource

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

f

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

Use dark colors for code blocksCopy
1
2
3
{
 "templates": ["< templateName1 >", ..., "< templateNameN >"]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
 "templates": [
  "Basic",
  "ExpandContainers",
  "CollapseContainers",
  "ReducedDiagrams",
  "SwitchingDiagram",
  "AutoSmartTree"
 ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.