- URL:
 - https://<root>/<serviceName>/NetworkDiagramServer/templates
 - Methods:
 POST- Version Introduced:
 - 10.6
 
Description
The templates resource represents all diagram templates under a Network Diagram service. It returns an array of template names.
    
Request parameters
| Parameter | Details | 
|---|---|
  | 
 The name of the geodatabase version. Syntax:  Example:   | 
  | 
 The token (guid) used to lock the version. Syntax:  Example:   | 
  | 
 The response format. The default response format is html. Values:   | 
Example usage
https:
JSON Response syntax
{
 "templates": ["< templateName1 >", ..., "< templateNameN >"]
}JSON Response example
{
 "templates": [
  "Basic",
  "ExpandContainers",
  "CollapseContainers",
  "ReducedDiagrams",
  "SwitchingDiagram",
  "AutoSmartTree"
 ]
}