- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/clearFlags
- Methods:
- POST
- Version Introduced:
- 10.6
Description
The clear operation clears any root junction, end junction, pivot junction and barrier flags in a diagram. It is performed on a Diagram resource. This operation returns the moment (date) the operation happens when it applies on a stored diagram.
Request Parameters
| Parameter | Details | 
|---|---|
| 
 | The name of the geodatabase version. Syntax:  Example:  | 
| 
 | The token (guid) used to lock the version. Syntax:  Example:  | 
| 
 (Required) | The type of flag you want to clear in the diagram; that is, 
 Syntax:  Example:  | 
| 
 | The response format. The default response format is html. Values:  | 
Example Usage
Deleting all root flags on the DiagramTest1 in version ABV1; that is:
- 
URL: https://myserver.esri.com/server/rest/services/Naperville/Network Diagram Server/diagrams/Diagram Test1/clear Flags 
- 
Parameters: Use dark colors for code blocks Copy gdbVersion=ABV1 sessionId= flagType=esriDiagramRootJunction f=pjson
- 
Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/Network Diagram Server/diagrams/Diagram Test1/clear Flags?gdb Version=ABV1&session Id=&flag Type=esri Diagram Root Junction&f=pjson 
JSON Response Syntax
{"moment": <moment>
JSON Response Example
{
 "moment": 1504864032806
}