- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/clearDiagramElementInfo
- Methods:
- POST
- Version Introduced:
- 11.3
Description
The clear operation clears the Info field values on all diagram features. It is performed on a diagram resource diagram resource.
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
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
{
 "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
}