API call for obtaining the names from IDs

The documentation on “Export licensing data” references “testID,” “osiID,” and “agentId.” I’m inquiring whether there are API calls in Dynatrace that can be utilized to retrieve the actual names corresponding to these IDs?

Hi,

I am not sure if I was able to understand you but I would try it with Monitored entities API.

Best regards

The osiID refers actually to the host ID, but has a different format. It’s possible to convert it if you need it. If you convert this large integer number to hex you will get the ID after HOST- so you can pair it with the host entities within an environment. AgentID refers to the agent ID (code modules).