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.

1
f=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.

1
async=true | false

JSON Response syntax

JSON response (when async = false):

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):

1
2
3
{
  "statusUrl" : <url>
}

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

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

1
2
f=json
async=false

JSON response:

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.

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