Change the Data aggregator Alternate field name incase it shows a incorrect name
search cancel

Change the Data aggregator Alternate field name incase it shows a incorrect name

book

Article ID: 269295

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

When opening http://<DA>:8581/rest/dataaggregator the field AlternateName contains an outdated entry and needs to be cleaned up.
How can we update the Alternate field name?

Environment

Release : All releases

Resolution

You can update the Alternate by updating the name alias. Once the change is made the name will be pushed to Data aggregator

 Update name alias -Updates the name alias of a specified device.

URL: http://hostname:8181/pc/center/webservice/devices/{idName}/{idValue}/aliasName/{newAliasName}

where:

- {idName} is one of the property name values returned by the get id names method of this web service.

- {idValue} is a value for the property denoted by idName.

- {newAliasName} is the new alias to use.


HTTP method = PUT


Returns true if the operation succeeded.

Following is the curl command to update :

curl -X PUT -v -u admin http://hostname:8181/pc/center/webservice/devices/deviceItemId/PORTAL-ITEMID-OF-DEVICE/aliasName/NEWALIAS