Skip to main content
Answer

Asset management (movement of child asset to different parent)

  • September 19, 2023
  • 2 replies
  • 64 views

Forum|alt.badge.img
  1. In the below example, suppose “Heating cable” needs to be deleted. How can this be achieved?
  2. If “Heating cable” needs to be renamed like “Heating-Cable”, how can this be achieved?
  3. If “Heating Cable” needs to move from Pump_A to Pump_B, how can this be achieved?

 

SYSTEM 11
└───Pump (Pump_A)
│   └───Heating cable
└───Pump (Pump_B)

Best answer by Mithila Jayalath

  1. You can delete the asset by using the asset delete endpoint. Please refer to the API documentation and the SDK documentation.
  2. If you need to rename the asset, you can use the asset update endpoint to set a new asset name and update your asset. Please refer to the API documentation and the SDK documentation.
  3. You can use the same asset update endpoint that I mentioned above(2nd question) to update the parent asset. You have to simply set the new parent asset id and update your asset.

2 replies

Anita Hæhre
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Community
  • September 21, 2023

Hi @vsanwaria just to let you know I’ll be moving this conversation to our Developer and User Community. Thanks for sharing :) 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8
  • Seasoned Practitioner
  • Answer
  • September 22, 2023
  1. You can delete the asset by using the asset delete endpoint. Please refer to the API documentation and the SDK documentation.
  2. If you need to rename the asset, you can use the asset update endpoint to set a new asset name and update your asset. Please refer to the API documentation and the SDK documentation.
  3. You can use the same asset update endpoint that I mentioned above(2nd question) to update the parent asset. You have to simply set the new parent asset id and update your asset.