- URL:
- https://<root>/<serviceName>/UtilityNetworkServer/disableSubnetworkController
- Methods:
POST- Required Capability:
- Requires the ArcGIS Advanced Editing user type extension license
- Version Introduced:
- 10.6
Description
Subnetwork controllers correspond to devices that have the Subnetwork Controller network capability set. The disable operation removes the subnetwork controller capability from a terminal on a device or junction object. A subnetwork controller specifies the origin (or destination) of a subnetwork and defines how resources flow through a network. Examples of subnetwork controllers include circuit breakers in electric networks or town border stations in gas networks.
Request parameters
| Parameter | Details |
|---|---|
| Specifies the output format of the response. The default response format is Values: |
(Optional) | Specifies the name of the geodatabase version. The default is sde.DEFAULT. Syntax: |
(Optional) | Specifies 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: |
(Required) | Specifies the network source ID of the class that the subnetwork controller participates in. Syntax: |
(Required) | Specifies the global ID of the device being disabled as a subnetwork controller. Syntax: |
(Required) | Specifies the terminal ID of the device being disabled as a subnetwork controller. Syntax: |
(Optional) | Introduced at ArcGIS Enterprise 11.1. Specifies the output spatial reference using a well-known ID ( Syntax: Example: Example: |
JSON Response syntax
{
"exceededTransferLimit" : <true | false>,
"serviceEdits" : [
{
"id" : <layerId>,
"editedFeatures" :
{
"spatialReference" : {<spatial reference>},
"adds" : [<currentFeature1>, <currentFeature2>],
"updates" : [
[<originalFeature3>, <currentFeature3>],
[<originalFeature4>, <currentFeature4>]
],
"deletes" : [<originalFeature5>, <originalFeature6>]
}
}
],
"moment" : <epoch time in milliseconds>,
"spatialReference" : {<spatial reference>},
"success" : <true | false>,
"error" : { // only if success is false
"extendedCode" : <HRESULT>,
"message" : <error message>,
"details" : [ <detail> ]
}
}Example usage
Disable a subnetwork controller using the disable operation.
Request URL and parameters:
https://myserver.esri.com/server/rest/services/LandUse/UtilityNetworkServer/disableSubnetworkControllerf=json
gdbVersion=UNADMIN.CAROLINA
sessionId={B8BB5DF8-5DA4-4706-98DB-7398BFCFA290}
networkSourceId=9
featureGlobalId={891252A4-31C5-4740-93A6-0CFE1023FAD7}
terminalId=3JSON response:
{
"exceededTransferLimit": false,
"serviceEdits": [
{
"id": 0,
"editedFeatures": {
"spatialReference": {
"wkid": 3498,
"latestWkid": 3498,
"xyTolerance": 0.00328083333333333,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -117608900,
"falseY": -91881400,
"xyUnits": 3048.00609601219,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000
},
"updates": [
[
{
"attributes": {
"OBJECTID": 148,
"ASSETGROUP": 1,
"ASSETTYPE": 1,
"ASSOCIATIONSTATUS": 0,
"ISSUBNETWORKCONTROLLER": 1,
"ISCONNECTED": 1,
"SUBNETWORKCONTROLLERNAME": "Load/Sample Controller",
"TIERNAME": 1,
"TIERRANK": 1,
"TERMINALCONFIGURATION": "Default",
"CREATIONDATE": 1604086447000,
"CREATOR": "ELEC",
"LASTUPDATE": 1786389056000,
"UPDATEDBY": "unadmin",
"GLOBALID": "{891252A4-31C5-4740-93A6-0CFE1023FAD7}",
"SUBNETWORKNAME": "SubnetworkA",
"SUPPORTEDSUBNETWORKNAME": "Unknown",
"SUPPORTINGSUBNETWORKNAME": "Unknown",
"labeltext": null,
"devicestatus": 2,
"phasesbuilt": 7,
"phasesnormal": 7,
"phasescurrent": 7,
"phasesub": null,
"phasesenergized": 7,
"hassolar": 0
},
"geometry": {
"x": 6813624.991722748,
"y": 1846076.2247908116,
"z": 0,
"m": null
}
},
{
"attributes": {
"OBJECTID": 148,
"ASSETGROUP": 1,
"ASSETTYPE": 1,
"ASSOCIATIONSTATUS": 0,
"ISSUBNETWORKCONTROLLER": 0,
"ISCONNECTED": 2,
"SUBNETWORKCONTROLLERNAME": "Unknown",
"TIERNAME": 0,
"TIERRANK": 0,
"TERMINALCONFIGURATION": "Default",
"CREATIONDATE": 1604086447000,
"CREATOR": "ELEC",
"LASTUPDATE": 1786389282000,
"UPDATEDBY": "unadmin",
"GLOBALID": "{891252A4-31C5-4740-93A6-0CFE1023FAD7}",
"SUBNETWORKNAME": "Unknown",
"SUPPORTEDSUBNETWORKNAME": "Unknown",
"SUPPORTINGSUBNETWORKNAME": "Unknown",
"labeltext": null,
"devicestatus": 2,
"phasesbuilt": 7,
"phasesnormal": 7,
"phasescurrent": 7,
"phasesub": null,
"phasesenergized": 7,
"hassolar": 0
},
"geometry": {
"x": 6813624.991722748,
"y": 1846076.2247908116,
"z": 0,
"m": null
}
}
]
]
}
},
{
"id": 9,
"editedFeatures": {
"spatialReference": {
"wkid": 3498,
"latestWkid": 3498,
"xyTolerance": 0.00328083333333333,
"zTolerance": 0.001,
"mTolerance": 0.001,
"falseX": -117608900,
"falseY": -91881400,
"xyUnits": 3048.00609601219,
"falseZ": -100000,
"zUnits": 10000,
"falseM": -100000,
"mUnits": 10000
},
"adds": [
{
"attributes": {
"OBJECTID": 30008,
"ISRETIRED": 1,
"STATUS": 1,
"SOURCEID": 9,
"GUID": "{891252A4-31C5-4740-93A6-0CFE1023FAD7}",
"ERRORMESSAGE": "",
"CREATIONDATE": 1786389282000,
"CREATOR": "unadmin",
"LASTUPDATE": 1786389282000,
"UPDATEDBY": "unadmin",
"GLOBALID": "{D624FECB-D6B6-47EB-B1E9-5C4840A7A87F}",
"ERRORCODE": 0,
"Shape__Area": 1.1355346260169209,
"Shape__Length": 4.262458682060242
},
"geometry": {
"hasZ": true,
"hasM": true,
"rings": [
[
[
6813624.458915412,
1846075.6919834763,
0,
null
],
[
6813624.458915412,
1846076.7575981469,
0,
null
],
[
6813625.524530083,
1846076.7575981469,
0,
null
],
[
6813625.524530083,
1846075.6919834763,
0,
null
],
[
6813624.458915412,
1846075.6919834763,
0,
null
]
]
]
}
}
]
}
},
{
"id": 500002,
"editedFeatures": {
"updates": [
[
{
"attributes": {
"OBJECTID": 4401,
"SUBNETWORKCONTROLLERNAME": "Sample Controller",
"TIERRANK": 1,
"TIERNAME": "Medium Voltage",
"TIERTOPOLOGYTYPE": 1,
"FEATUREGLOBALID": "{891252A4-31C5-4740-93A6-0CFE1023FAD7}",
"FEATUREASSETGROUP": "Circuit Breaker",
"FEATUREASSETTYPE": "Air powered",
"FEATURESOURCEID": 9,
"LASTUPDATESUBNETWORK": null,
"LASTACKEXPORTSUBNETWORK": null,
"DOMAINNETWORKNAME": "ElectricDistribution",
"ISDIRTY": 1,
"ISDELETED": 0,
"SUBNETLINEGLOBALID": null,
"DESCRIPTION": "",
"NOTES": "",
"SUBNETWORKNAME": "SubnetworkA",
"FEATURETERMINALID": 3,
"CREATIONDATE": 1786389056000,
"CREATOR": "unadmin",
"LASTUPDATE": 1786389056000,
"UPDATEDBY": "unadmin",
"GLOBALID": "{CBF3186F-C1F9-4A6C-A06B-68649437F6CC}"
}
},
{
"attributes": {
"OBJECTID": 4401,
"SUBNETWORKCONTROLLERNAME": "Sample Controller",
"TIERRANK": 1,
"TIERNAME": "Medium Voltage",
"TIERTOPOLOGYTYPE": 1,
"FEATUREGLOBALID": "{891252A4-31C5-4740-93A6-0CFE1023FAD7}",
"FEATUREASSETGROUP": "Circuit Breaker",
"FEATUREASSETTYPE": "Air powered",
"FEATURESOURCEID": 9,
"LASTUPDATESUBNETWORK": null,
"LASTACKEXPORTSUBNETWORK": null,
"DOMAINNETWORKNAME": "ElectricDistribution",
"ISDIRTY": 1,
"ISDELETED": 1,
"SUBNETLINEGLOBALID": null,
"DESCRIPTION": "",
"NOTES": "",
"SUBNETWORKNAME": "SubnetworkA",
"FEATURETERMINALID": 3,
"CREATIONDATE": 1786389056000,
"CREATOR": "unadmin",
"LASTUPDATE": 1786389282000,
"UPDATEDBY": "unadmin",
"GLOBALID": "{CBF3186F-C1F9-4A6C-A06B-68649437F6CC}"
}
}
]
]
}
}
],
"moment": 1786389282890,
"spatialReference": {
"wkid": 3498,
"latestWkid": 3498
},
"success": true
}