EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 03:12 AM
Hi,
I asked the person in charge of the DCO software to add U-Height.
He did that, but I can not see that value when I access the API.
Can U-Height be available through the API? how?
Thanks.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 05:05 AM
'/assets/search' would not return the info you need, you would need to use GET /assets/{asset-id}
please see my illustration above.
Kind regards,
Jef
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 03:59 AM
Hello, which version of DCO are you using?
I believe the below highlighted item is the U-height of the server I queried via the DCO rest api (DCO 8.3.2 or newer).
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 04:38 AM
Sorry, looks like the picture I shared did not paste properly. I re-added the screenshot.
This value is present in both DCO and ITA and appears to represent U-Height of the device.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 04:50 AM . Last Modified: 2022-04-27 05:14 AM
Hi Shlomit,
Yes, it is possible to get the assets/device 'Unit height' value via the REST api. ( https://<ITA server IP>api/current/docs/index.html )
Here is an illustration:
a device with Unit height 2
go to https://<ITA server IP>api/current/docs/index.html
GET /assets/{asset-id}
enter your asset-id
and then hit the 'Try it out!'
in the Response Body window, device 'unitHeight' should be displayed:
Kind regards,
Jef
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 04:56 AM
I go to https://.../api/v8.1/assets/search, no height, I get only the attributes:
{
"id": "",
"type": "",
"location": " ",
"parentId": "",
"parentName": "",
"parentType": "",
"roomId": "",
"roomName": "",
"roomType": "",
"cageName": "",
"rackName": "",
"barcode": "",
"description": "",
"name": "",
"manufacturer": "",
"modelName": "",
"partNumber": "",
"serialNumber": "",
"customPropertyKeys": "",
"customPropertyValues": "",
"luceneSearchScore":
}
Thanks a lot.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-04-27 05:05 AM
'/assets/search' would not return the info you need, you would need to use GET /assets/{asset-id}
please see my illustration above.
Kind regards,
Jef
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.