I am new to Solarwinds, and have a task to get Solarwinds integration through API to some other application.
I have referred below link, created a user and initiated a send request by POSTMAN.
https://loop1.com/swblog/using-the-rest-api-to-get-the-most-out-of-solarwinds-part-1/
with the query SELECT Caption, IPAddress FROM Orion.Nodes WHERE Vendor = 'Cisco'.
I have NPM version 12.4 with URL on 'http' , as checked query is working at database end but could not get output through postman.
Is it necessary to have URL on https?
When requested through link: "http://x.x.x.x:17778/SolarWinds/InformationService/v3/Json/Query" getting error:
Could not get any response
There was an error connecting to .
Why this might have happened:
The server couldn't send a response:Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectlyEnsure that proxy is configured correctly in Settings > Proxy
Request timeout:Change request timeout in Settings > General
When requested through link: "https://x.x.x.x:17778/SolarWinds/InformationService/v3/Json/Query" getting error:
{"Message":"Value cannot be null.\u000d\u000aParameter name: query","ExceptionType":"System.ArgumentNullException","FullException":"System.ArgumentNullException: Value cannot be null.\u000d\u000aParameter name: query\u000d\u000a at SolarWinds.Data.Query.Engine.QueryProcessor.ProcessQueryWithDeferredReaderCreation(String query, IQueryExecutionContext context)\u000d\u000a at SolarWinds.InformationService.Core.QueryPlanCache.GetQueryPlan(String query, String username, Boolean federationEnabled, Func`1 buildQueryPlan)\u000d\u000a at SolarWinds.InformationService.Core.InformationService.RunQuery(String query, IDictionary`2 parameters, IDataSerializer serializer)"}
Please guide me in completing the task.
Regards,
Aamir