Skip To Content
ArcGIS Developers
Dashboard

Update Is Connected

Description

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

updateIsConnected is supported both synchronously and asynchronously.

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

async

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

This parameter was introduced at ArcGIS Enterprise 10.9.1.

JSON Response syntax

JSON response (when async = false):

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

JSON response (when async = true):

{
  "statusUrl" : <url>
}

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

{
  "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

f=json
async=false

JSON response:

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