How to change a device model name via Data Aggregator REST Web Services
search cancel

How to change a device model name via Data Aggregator REST Web Services

book

Article ID: 271266

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Is it possible to change a device name via Data Aggregator REST Web Services in DX Netops Performance Management?

Environment

DX Netops Performance Management all versions.

Resolution

You can change the name by using a POST to the device ItemId

See the http://<DA>:8581/rest/devices/documentation endpoint on the Data Aggregator for additional information.

Change the port and protocol for your installation.

Data Aggregator Rest Endpoint: http(s)://<da_host>:<port>/rest/devices/ItemId

Example:

https://da-server8582/rest/devices/10648

REST Method: PUT
Content-Type: application/xml
Example Body:

<Device version="1.0.0">
 <Item version="1.0.0">
  <Name>NewNameHere</Name>
   </Item>
</Device>

When you send the PUT to that devices ItemID it will change the name. 

The new name will be seen in the DX Netops Portal after the next Data Aggregator sync

The name will also be locked and will only update via REST as shown above.