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

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

JSON Response example

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.

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