//-- Intent: Initiates a downbload of the raw records for  --//
//-- the fax alerts sent for job 1546907. 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/Alerts/Reports/Fax/Download/1546907",
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});

<!-- example return value -->
<!-- return value is a binary file -->