ArcGIS REST API

Diagram Templates (Network Diagrams)

Description

The Diagram Templates resource represents all the diagram templates under a Network Diagrams 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

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

http://batz.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"
 ]
}