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
84713members
354108posts

U-Heigh not in DCO 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.

Solved
shloa
Ensign
Ensign
0 Likes
6
690

U-Heigh not in DCO api

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.

Tags (1)

Accepted Solutions
Jef
Captain Captain
Captain
0 Likes
0
665

Re: U-Heigh not in DCO api

'/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

See Answer In Context

Tags (1)
6 Replies 6
gsterling
Commander Commander
Commander
0 Likes
4
684

Re: U-Heigh not in DCO api

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).

 
Tags (1)
shloa
Ensign
Ensign
0 Likes
0
678

Re: U-Heigh not in DCO api

9.2.4

Tags (1)
gsterling
Commander Commander
Commander
0 Likes
2
672

Re: U-Heigh not in DCO api

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.

 

U-Height.JPG

Tags (1)
Jef
Captain Captain
Captain
0 Likes
0
669

Re: U-Heigh not in DCO api

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
Capture_jf1.JPG

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:
Capture_jf2.JPG

 

Kind regards,

Jef

 

Tags (1)
shloa
Ensign
Ensign
0 Likes
1
668

Re: U-Heigh not in DCO api

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.

Tags (1)
Jef
Captain Captain
Captain
0 Likes
0
666

Re: U-Heigh not in DCO api

'/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

Tags (1)