Clear Diagram Element Info

URL:
https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/clearDiagramElementInfo
Methods:
POST
Version Introduced:
11.3

Description

The clearDiagramElementInfo operation clears the Info field values on all diagram features. It is performed on a diagram resource diagram 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

JSON Response syntax

A JSON object composed of a Diagram JSON Information object and a moment: {"diagramInfo": Diagram JSON Information, "moment": <moment>}

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
{
 "diagramInfo": {
  "tag": "",
  "isStored": true,
  "canStore": false,
  "canExtend": false,
  "isSystem": false,
  "creator": "acb7352",
  "creationDate": 1702982317000,
  "lastUpdateBy": "acb7352",
  "lastUpdateDate": 1703005136000,
  "containerMargin": 0.5,
  "junctionCount": 4,
  "edgeCount": 3,
  "containerCount": 0,
  "aggregationCount": 10,
  "isHistorical": false,
  "access": "esriDiagramPublicAccess",
  "diagramExtent": {
   "xmin": 1030232.890141096,
   "ymin": 1871338.6320226118,
   "xmax": 1030417.3605726771,
   "ymax": 1871454.2505577803,
   "spatialReference": {
    "wkid": 102671,
    "latestWkid": 3435,
    "vcsWkid": 105703,
    "latestVcsWkid": 6360
   }
  },
  "networkExtent": {
   "xmin": 1030232.890141096,
   "ymin": 1871303.4234316126,
   "xmax": 1030417.3605726771,
   "ymax": 1871455.7836911976,
   "spatialReference": {
    "wkid": 102671,
    "latestWkid": 3435,
    "vcsWkid": 105703,
    "latestVcsWkid": 6360
   }
  },
  "name": "TestDiagram1",
  "id": "{5C8D1C14-CF63-4FCA-B2CB-439AF2B003B7}",
  "template": "ReduceJunctions"
 },
 "moment": 1703007831840
}

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