Tip: Example using Traverse getRawHistoricalData web service


How do I use the getRawHistoricalData web service?


 Below are example requests for historical data using the Traverse web services.

First, in SOAP XML Format (suitable for use with the tool SoapUI):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:test="http://traverse.zyrion.com/05/06/test">
               <searchTerms>Packet Loss</searchTerms>
               <searchTerms>Traverse Server</searchTerms>

 and the same request using JSON format and the 'curl' command:

Note: replace }' http://traverse_server/api with your Traverse server URL

curl -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{
  "searchCriterias": [
      "searchOption": "TEST_NAME",
      "searchTerms": "Packet Loss"
      "searchOption": "DEVICE_NAME",
      "searchTerms": "Traverse Server"
}' http://traverse_server/api/json/test/getRawHistoricalData


All Traverse releases 


See Traverse Developers Guide (also ensure to review the most current versions)

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us
Provide feedback for the Documentation team!