ArcGIS REST API

Delete Diagram (Network Diagrams)

Description

The deleteDiagram operation is performed on a Network Diagrams Service resource. This operation returns the moment (date) the deleteDiagram operation happens.

It is used to delete a network diagram.

License:
The ArcGIS Utility Network Management extension is required to use this operation.

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

name

Required

Description: The name of the network diagram to delete.

Syntax: name=<diagramName>

Example: name=MyTest1

f

Description: The response format. The default response format is html.

Values: <html | json>

Example Usage

Deleting the diagram name "MyTest1": http://batz.esri.com/server/rest/services/Naperville_Post/NetworkDiagramServer/deleteDiagram?gdbVersion=&sessionId=&name=MyTest1&f=pjson

JSON Response Syntax

{"moment": <moment>}

JSON Response Example

{
 "moment": 1490875600791
}