Super Contributor.
Super Contributor.

<UCMDB Support Tip> Query node using the Global ID with rest-api

By default, we can use uCMDB ID to query node with rest-api.
We do it like this:: https://xxx.xxx.xxx.xxx:8443/rest-api/dataModel/ci/4b2cb089d9e909849961810333078937
This will return the Node's detailed in by in json format.

But sometimes we need to use global id instead of the uCMDB id, we can do it like this

Now 4b2cb089d9e909849961810333078937 is present the global id but not the uCMDB ID.


HPE Software Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.