Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84292members
353412posts

How to update Asset physical properties via API

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.

dromero
Cadet
0 Likes
2
686

How to update Asset physical properties via API

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

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.

Response Body

{
  "code": 100114,
  "message": "Failed to update property",
  "details": "<ID_REMOVED>"
}

 

Any help is much appreciated.

 

Tags (4)
2 Replies 2
Valentin_Kozlov
Lieutenant Lieutenant
Lieutenant
0 Likes
0
666

Re: How to update Asset physical properties via API

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.

Tags (1)
gsterling
Commander Commander
Commander
0 Likes
0
649

Re: How to update Asset physical properties via API

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

Tags (1)