- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/layerDefinitions
- Methods:
POST
- Version Introduced:
- 10.6
Description
The layer
resource details all the layer and labeling properties that define each sublayer under the diagram layer.
Request Parameters
Parameter | Details |
---|---|
|
The name of the geodatabase version. Syntax: Example: |
|
The token (guid) used to lock the version. Syntax: Example: |
| Added in 10.7.1 The session moment. Syntax: Example: |
| Added in 10.8.1 The mode to use to cache the layer definitions for the diagram. When Syntax: Example: |
|
The response format. The default response format is html. Values: |
Example Usage
Access the layer definitions REST endpoint from the diagram named DiagramTest3:
-
URL:
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test3/layer Definitions -
Parameters:
Use dark colors for code blocks Copy gdbVersion= sessionId= moment= allLayers=false f=pjson
-
Sent URL (GET):
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test3/layer Definitions?gdb Version=&session Id=&moment=&all Layers=false&f=pjson