- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/queryConsistencyState
- Methods:
POST
- Version Introduced:
- 10.6
Description
The query
operation returns the diagram consistency state for each of the diagram names specified in input. It is performed on a Network Diagram Service resource.
Request parameters
Parameter | Details |
---|---|
|
The name of the geodatabase version. Syntax: Example: |
|
The token (guid) used to lock the version. Syntax: Example: |
|
The session moment. Syntax: Example: |
(Required) | An array of strings, each one corresponding to a diagram name, for which you want to get the consistency state. Syntax: Example: |
|
The response format. The default response format is html. Values: |
Example usage
Retrieve the consistency state for two diagrams called Basic_RMT001 and DiagramTest1 in version QBV1:
-
URL:
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/query Consistency State -
Parameters
Use dark colors for code blocks Copy gdbVersion=ABV1 sessionId= moment= diagramNames=["Basic_RMT001","DiagramTest1"] f=pjson
-
Sent URL (GET):
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/query Consistency State?gdb Version= AB V1&session Id=&moment=&diagram Names=%5 B%22 Basic _RM T001%22%2 C%22 Diagram Test1%22%5 D&f=pjson
JSON Response syntax
A JSON object returning the list of each input diagram name with its consistency state:
{
"< diagramName1 >": < diagramName1_DiagramConsistencyState >,
...,
"< diagramNameN >": < diagramNameN_DiagramConsistencyState >
}
With <DiagramConsistencyState>=<"esri
JSON Response example
{
"Basic_RMT001": "esriDiagramNotConsistentWithTopology",
"DiagramTest1": "esriDiagramIsConsistent"
}