Diagram Map

URL:
https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/map
Methods:
POST
Operations:
Export, Identify
Version Introduced:
10.6

Description

The Diagram map resource mimics a map service resource. It is returned as a Map service by the REST API.

This resource supports two operations:

  • Export—Used to export the network diagram as a map image,
  • Identify—Used to identify diagram features in the network diagram.
diagram Map REST end point 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

The Diagram Map related to the Basic_RMT001 network diagram; that is:

  • URL:

    Use dark colors for code blocksCopy
    1
    https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/Basic_RMT001/map
  • Parameters:

    Use dark colors for code blocksCopy
    1
    f=pjson
  • Sent URL (GET):

    Use dark colors for code blocksCopy
    1
    https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/Basic_RMT001/map?f=pjson

The Diagram Map related to the DiagramTest1 network diagram in the version called 'ABV1'; that is:

  • URL:

    Use dark colors for code blocksCopy
    1
    https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/DiagramTest1/map
  • Parameters:

    Use dark colors for code blocksCopy
    1
    2
    gdbversion=ABV1
    f=pjson
  • Sent URL (GET):

    Use dark colors for code blocksCopy
    1
    https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/diagrams/DiagramTest1/map?gdbversion=ABV1&f=pjson

JSON Response syntax

Map service JSON response syntax

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
  "currentVersion": 10.6,
  "cimVersion": "2.1.0",
  "serviceDescription": "",
  "mapName": "Map",
  "description": "",
  "copyrightText": "",
  "supportsDynamicLayers": true,
  "layers": [
    {
      "id": 0,
      "name": "electric Utility Network",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": [
        1,
        2,
        3
      ],
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 1,
      "name": "Dirty Areas",
      "parentLayerId": 0,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 2,
      "name": "Line Errors",
      "parentLayerId": 0,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 3,
      "name": "Point Errors",
      "parentLayerId": 0,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 4,
      "name": "Electric Distribution Device",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 5,
      "name": "Electric Distribution Assembly",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 6,
      "name": "Electric Distribution Junction",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 7,
      "name": "Electric Distribution Line",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 8,
      "name": "Electric Distribution SubnetLine",
      "parentLayerId": -1,
      "defaultVisibility": false,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 9,
      "name": "Structure Junction",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
     "maxScale": 0
    },
    {
      "id": 10,
      "name": "Structure Line",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    },
    {
      "id": 11,
      "name": "Structure Boundary",
      "parentLayerId": -1,
      "defaultVisibility": true,
      "subLayerIds": null,
      "minScale": 0,
      "maxScale": 0
    }
  ],
  "tables": [],
  "spatialReference": {
    "wkid": 102671,
    "latestWkid": 3435
  },
  "singleFusedMapCache": false,
  "initialExtent": {
    "xmin": 1021299.8579380772,
    "ymin": 1860645.6173686527,
    "xmax": 1042244.0162535236,
    "ymax": 1873755.5798953928,
    "spatialReference": {
      "wkid": 102671,
      "latestWkid": 3435
    }
  },
  "fullExtent": {
    "xmin": -17463455.550668899,
    "ymin": -46132232.733476341,
    "xmax": 19431955.550668899,
    "ymax": 19495685.092346754,
    "spatialReference": {
      "wkid": 102671,
      "latestWkid": 3435
    }
  },
  "minScale": 0,
  "maxScale": 0,
  "units": "esriFeet",
  "supportedImageFormatTypes": "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
  "documentInfo": {
    "Title": "Map",
    "Author": "",
    "Comments": "",
    "Subject": "",
    "Category": "",
    "AntialiasingMode": "Fast",
    "TextAntialiasingMode": "Force",
    "Keywords": "Naperville_ORA_9571,ArcGIS,Service,Definition,.sd"
  },
  "capabilities": "map",
  "supportedQueryFormats": "JSON, geoJSON",
  "hasVersionedData": true,
  "exportTilesAllowed": false,
  "datumTransformations": [
    {
      "geoTransforms": [
        {
          "wkid": 108190,
          "latestWkid": 108190,
          "transformForward": true,
          "name": "WGS_1984_(ITRF00)_To_NAD_1983"
        }
      ]
    },
    {
      "geoTransforms": [
        {
          "wkid": 108190,
          "latestWkid": 108190,
          "transformForward": false,
          "name": "WGS_1984_(ITRF00)_To_NAD_1983"
        }
      ]
    }
  ],
  "supportsDatumTransformation": true,
  "maxRecordCount": 2000,
  "maxImageHeight": 4096,
  "maxImageWidth": 4096
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.