Update Is Connected

URL:
https://<root>/<serviceName>/UtilityNetworkServer/updateIsConnected
Methods:
POST
Required Capability:
Requires the ArcGIS Advanced Editing user type extension license
Version Introduced:
10.6

Description

The updateIsConnected operation updates the IsConnected attribute on all the network features in the utility network based on connectivity for the default version. Utility network features have an attribute named IsConnected that tells you whether a feature is connected to a subnetwork controller and could be part of an existing subnetwork.

updateIsConnected is supported both synchronously and asynchronously.

Request parameters

ParameterDetails

f

The output format of the response. The default response format is html.

Values: html | json | pjson

async

(Optional)

Introduced at ArcGIS Enterprise 10.9.1. If true, the request is processed as an asynchronous job, and a URL is returned that a client can visit to check the status of the job. The default is false.

Values: true | false

JSON Response syntax

JSON response (when async = false):

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
  "moment" : <datetime>,
  "success" : <true | false>,
  "error" : {                   // only if success is false
    "extendedCode" : <HRESULT>,
    "message" : <error message>,
    "details" : [ <detail> ]
  }
}

JSON response (when async = true):

Use dark colors for code blocksCopy
1
2
3
{
  "statusUrl" : <url>
}

JSON response to the status URL (when pending or in progress):

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "status" : "<Pending | InProgress>",
  "submissionTime" : <datetime>,
  "lastUpdatedTime" : <datetime>
 }

Example usage

Run the updateIsConnected operation on features in the utility network.

Request URL and parameters:

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

Use dark colors for code blocksCopy
1
2
f=json
async=false

JSON response:

Use dark colors for code blocksCopy
1
2
3
4
{
 "moment": 1554336000000,
 "success": true
}

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