03 Dec 2018 10:58 PM - last edited on 18 May 2023 09:03 AM by Michal_Gebacki
Are there REST endpoints for license usage available?
Solved! Go to Solution.
According to my knowledge about Dynatrace SDK it's not possible to write such plugin. Plugins are related to different level of data than such thing. If I understand you properly you need rest endpoints about license usage?
Hi Sebastian, Thanks for quick response. I apologies about explaining problem statement at first, Yes I'm looking for rest endpoints for license usage of dynatrace oneagent.
Hi Krunal, have a look at the /entity/infrastructure/hosts endpoint. Calls to this endpoint result in a JSON containing host info. One of the JSON values is: "consumedHostUnits": 1
@ Adam - thanks for prompt reply.
Yes we did figured out yesterday about the /entity/infrastructure/hosts endpoint, and now we are able to calculate used license.