Hi Experts,
We are working on a quick POC to integrate InfoBlox in our project to fetch free IP and DNS records using InfoBlox REST APIs. However we are getting as
{ "Error": "AdmConProtoError: Invalid reference: network/Tkpd4kdvgmsPneJQZ5INXl1gnEZpd0Wvoe4:192.167.20.0/24/default",
"code": "Client.Ibap.Proto",
"text": "Invalid reference: network/Tkpd4kdvgmsPneJQZ5INXl1gnEZpd0Wvoe4:192.167.20.0/24/default"
}
What i did was as per API doc executed
https://192.168.x.70/wapi/v2.0/networkview?_return_type=json-pretty&name=defaultThis gives something like
{
"_ref": "networkview/ZG5zLm5ldHdvcmtfdmlldyQw:default/true",
"is_default": true,
"name": "default"
}
It is interesting to see we are getting EXACTLY same response as mentioned in API doc even the "ZG5zLm5ldHdvcmtfdmlldyQw" so seems this code in hardwired for a particular kind of object
Now i have so many objects how would i know what this code is and how would i get it?
Am i trying something completely wrong?
I have no clue about API just doing some POC