Delete (Trace Configurations)

URL:
https://<root>/<serviceName>/UtilityNetworkServer/traceConfigurations/delete
Methods:
POST
Required Capability:
Requires the ArcGIS Advanced Editing user type extension license
Version Introduced:
10.9

Description

The delete operation provides the ability to delete one or more named trace configurations in a utility network. A named trace configuration can only be deleted by an administrator or its creator.

Request parameters

ParameterDetails

f

Specifies the output format of the response. The default response format is html.

1
f=html | json | pjson

globalIds

(Required)

Specifies the global IDs of the named trace configurations to delete; this is provided as an array of strings.

Syntax: globalIds=["<guid>"]

Example: globalIds= ["{FA46F1EB-796C-4FB9-8E7B-B184EC6D43DC}","{2D85EDA5-DBEB-4DD1-AA73-C25DFC8BD4B6}"]

JSON Response syntax

1
2
3
4
5
6
7
8
{
  “success” : <true | false>,
  “error” : {                   // only if success is false
    “extendedCode” : <HRESULT>,
    “message” : <error message>,
    “details” : [ <detail> ]
}
}

Example usage

Delete two named trace configurations from a utility network using the delete operation by specifying the global IDs of the trace configurations.

Request URL and parameters:

https://myserver.esri.com/server/rest/services/Naperville_Elec/UtilityNetworkServer/traceConfigurations/delete

1
2
f=json
globalIds=["{FA46F1EB-796C-4FB9-8E7B-B184EC6D43DC}","{2D85EDA5-DBEB-4DD1-AA73-C25DFC8BD4B6}"]

JSON response:

1
2
3
{
 "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