cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Need Help with Querying IPAM API

Hello All,

I’m having a hard time retrieving IPAM data from the REST API and the Python OrionSDK, specifically I am trying to query the IPAM.Subnet endpoint to create new subnets and make IP reservations but I keep getting empty results list.

I might be querying the wrong endpoint or I have the wrong schema, is there a way I can get help on this issue ?

Version: Orion Platform HF5, IPAM HF1, NCM HF1: 2019.4

example:

sw_results = swis.query(
"SELECT TOP 10 DisplayName, Address, CIDR, Status FROM IPAM.Subnet")
pprint(sw_results)
 
Output:
{'results': []}

 

REST call to /SolarWinds/InformationService/v3/Json/Query?query=SELECT+DisplayName+FROM+IPAM.Subnet

return the same results as well:

{
    "results": []
}
Tags (1)
0 Kudos
0 Replies