Apply Overrides

  • URL:http://<utilitynetworkservice-url>/applyOverrides(POST only)
  • Version Introduced:10.6

Description

Network attributes support the ability to have their values overridden without having to edit features and validate the network topology (build the index). The utility network also supports the ability to place ephemeral connectivity (for example, jumpers in an electrical network) between two devices or junctions without having to edit features or connectivity associations and validate the network topology (build the index). When specified by the client, a trace operation may optionally incorporate the network attribute and connectivity override values when the trace is run on.

License:
The ArcGIS Utility Network Management extension is required to use these resources.

Request Parameters

ParameterDetails
f

Description: Optional parameter representing the output format of the response (default is JSON).

adds

Description: Optional parameter containing the attribute and/or connectivity override values to add to the override tables.

Syntax:

{
  "attributeOverrides" : [
    {
      "globalId" : <guid>,
      "attributeId" : <long>,
      "longValue" : <long>, 
      "doubleValue" : <double> 
    }
  ],
  "connectivityOverrides" : [
    {
      "fromGlobalId" : <guid>,
      "fromTerminalId" : <long>,  // optional
      "toGlobalId" : <guid>, 
      "toTerminalId" : <long>     // optional
    }
  ]
}

deletes

Description: Optional parameter containing an array of global IDs representing the attribute and connectivity override values to delete.

Syntax:

{
  "attributeOverrides" : [ 
    {
      "globalId" : <guid>,
      "attributeId" : <long>
    }
  ],
  "connectivityOverrides" : [
    {
      "fromGlobalId" : <guid>,
      "toGlobalId" : <guid>
    }
  ]
}

JSON Response Syntax

JSON response:

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