Skip To Content
ArcGIS Developers
Dashboard

Disable Topology

Description

Disables the network topology for a utility network. When the topology is disabled, feature and association edits do not generate dirty areas. Analytics and diagram generation can't be performed if the topology is not present.

When the topology is disabled, the following happens:

  • All current rows in the topology tables are deleted.
  • No dirty areas are generated from edits.
  • Remaining error features still exist and can be cleaned up without the overhead of dirty areas.

To perform certain network configuration tasks, the network topology must be disabled.

  • This operation must be executed by the portal utility network owner.
  • The topology can be disabled in the default version or in a named version. If disabled in a named version, it may not be later enabled in the named version. The reconcile process should be used to inherit the topology state from the default branch version.

License:
The active portal account must be licensed with the ArcGIS Utility Network user type extension to use this operation.

Request parameters

ParameterDetails
f

Description: Optional parameter representing the output format of the response. The default response format is html.

Values: html | json

gdbVersion

Description: Optional parameter specifying the name of the geodatabase version (default is DEFAULT).

Syntax: gdbVersion=<version>

Example: gdbVersion=sde.DEFAULT

sessionId

Description: Optional parameter representing the token (guid) used to lock the version. If the calling client is editing a named version, the session ID must be provided; if the client is editing DEFAULT, the version may not be locked and the session ID should not be specified.

Syntax: sessionId=<guid>

Example: sessionId={29CC8FF6-D6C6-4157-A9A8-A9A9BCFE07D1}

JSON Response syntax

JSON response syntax for disableTopology:

{
  "moment" : <datetime>,
  "success" : <true | false>,
  "error" : {                   // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}

Example usage

Disable the network topology for a utility network using the disableTopology operation.

Request URL and parameters:

https://myserver.esri.com/server/rest/services/LandUse/UtilityNetworkServer/disableTopology

f=json
gdbVersion=SDE.DEFAULT
sessionID=

JSON response:

{
 "moment": 1554393356246,
 "success": true
}