EcoStruxure IT forum
A support forum for Data Center Operation, Data Center Expert, and EcoStruxure IT product users to share knowledge on installation, configuration, and general product use.
Posted: 2020-10-27 03:05 PM
Hello,
Since DCO/ITA does not push genome changes back downstream to the assets where the genome was used. I'm looking for information on how to update the height, width and depth for an asset through the API.
If I can get this accomplished I can push the updates to hundreds of assets with Python instead of doing it manually.
I tried this using the API docs.
curl -X PATCH --header 'Content-Type: application/json' --header 'Accept: application/json' -d '[ { "op": "replace", "path": "depth", "value": "406.0" } ]' 'https://<HOST_NAME_REMOVED>/api/v8.1/assets/<ID_REMOVED>'
but I get this back.
{
"code": 100114,
"message": "Failed to update property",
"details": "<ID_REMOVED>"
}
Any help is much appreciated.
Posted: 2020-10-28 01:35 AM
HI!
I believe there are some limitations on properties editing.
I'm not sure, but it seems that you can not edit physical properties on assets as it can conflict each other when it installed in the racks.
You can't mass edit device dimensions with "Edit multiple items" tool as well.
By the way, you also need to add "/" before property name in "path" field value.
Posted: 2020-10-29 04:14 AM
Hello David
The previously posted comments by Valentin are currently correct. The web UI and REST api's in the current versions of ITA do not support the ability to change the physical dimensions of the assets.
This capability is expected in a future release but we cannot share an estimated date as of now.
Regards
Greg Sterling
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.