//-- Intent: Initiates a downbload of the raw records for calls into --// //-- the hotline (866) 802-0837 sent between 3/1/2013 and 3/31/2013 --// //-- with callerid phone of 2012361344. --// //-- The records are returned in a zip compressed CSV file. --// $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Hotlines/Reports/Download/8668020837/3-1-2013/3-31-2013", dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> <!-- return value is a binary file -->