Query Consistency State

URL:
https://<root>/<serviceName>/NetworkDiagramServer/queryConsistencyState
Methods:
POST
Version Introduced:
10.6

Description

The queryConsistencyState 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

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

moment

The session moment.

Syntax: moment=<moment>

Example: moment=1490867969324

diagramNames


(Required)

An array of strings, each one corresponding to a diagram name, for which you want to get the consistency state.

Syntax: diagramNames=["<diagramName1>",…,"<diagramNameN>"]

Example: diagramNames=["Basic_RMT001","DiagramTest1"]

f

The response format. The default response format is html.

Values: <html | json>

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/NetworkDiagramServer/queryConsistencyState

  • Parameters

    1
    2
    3
    4
    5
    gdbVersion=ABV1
    sessionId=
    moment=
    diagramNames=["Basic_RMT001","DiagramTest1"]
    f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/NetworkDiagramServer/queryConsistencyState?gdbVersion=ABV1&sessionId=&moment=&diagramNames=%5B%22Basic_RMT001%22%2C%22DiagramTest1%22%5D&f=pjson

JSON Response syntax

A JSON object returning the list of each input diagram name with its consistency state:

1
2
3
4
5
{
 "< diagramName1 >": < diagramName1_DiagramConsistencyState >,
 ...,
 "< diagramNameN >": < diagramNameN_DiagramConsistencyState >
}

With <DiagramConsistencyState>=<"esriDiagramIsConsistent" | "esriDiagramNotConsistentWithTopology" | "esriDiagramHasDirtyFeatures">

JSON Response example

1
2
3
4
{
 "Basic_RMT001": "esriDiagramNotConsistentWithTopology",
 "DiagramTest1": "esriDiagramIsConsistent"
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close