SolarWinds Query Request…GET https://localhostmesstone:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT+Uri+FROM+Orion.Pollers+Order+BY+PollerID+WITH+ROWS+1+TO+3+WITH+TOTALROWS HTTP/1.1 Authorization:Basic YWRtaW46 Userrharper@messtone.com-Agent:curl/7.20.0(i386-pc-wins32)libcurl/7.20.0 openSSL/0.9.8l zlib/1.2.3 Host: localhostmesstone:17778 Accept*/*Query Response HTTP/1.1 200 OK Content-Length:244 Content-Type application/json Server:Microsoft-HTTPAPI/2.0 Date:Fri,27 Jul 2012 19:38:52 GMT {“totalRows”:13,”results”:[{“Uri”:”swis://tanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=4″},{“Uri”:”swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=6″},{“Uri”:”swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=7″}]}Body reformated for easier reading {“totalRows”:13,”results”:[{“Uri”:”swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=4″},{“Uri”:”swis://tanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=6″},{“Uri”:”swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=7″}]} Query with Parameters Response HTTP/1.1 200 OK Content-Length:99 Content-Type: application/json Server:Microsoft-HTTPAPI/2.0 Date:Tue,07 Aug 2012 17:36:27 GMT {“totalRows”:1,”results”:[{“Uri”:”swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/PollerID=9″}]}

Leave a comment