- 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 update
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.
- The network topology must be enabled.
- This operation must be run by the portal utility network owner.
update
is supported both synchronously and asynchronously.
Request parameters
Parameter | Details |
---|---|
| The output format of the response. The default response format is
|
(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.
|
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 update
operation on features in the utility network.
Request URL and parameters:
https:
f=json
async=false
JSON response:
{
"moment": 1554336000000,
"success": true
}