- 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 returns an array of template names.
Licencia:
The active portal account must be assigned a license with the ArcGIS Advanced Editing user type extension 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"
]
}