ArcGIS REST API

Layer Definitions

  • URL:
    http://<diagram-url>/layerDefinitions
  • Version Introduced: 10.6

Description

The Layers Definitions resource details all the layer and labeling properties that define each sublayer under the diagram layer.

diagram Layer Definitions REST end point resource

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

Accessing the layer definitions REST end point from the diagram called DiagramTest3:http://batz.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/DiagramTest3/layerDefinitions?gdbVersion=&sessionId=&f=pjson