//-- Intent: search the records for the sms alerts sent for job 1541867 to --//
//-- any EntityName that contains the text "Lindab". --//
//-- This will retrieve the 1st page of 5 records sorted by TimeStamp --//
//-- in an Ascending direction. --//


$.ajax({
  type: "GET",
  contentType: "application/json; charset=utf-8",
  headers: {"SwiftAPI-Key": "12345"},
  url: "http://api.v4.swiftreach.com/api/Alerts/Reports/Text/Search/1541867/0/5/TimeStamp/ASC/EntityName/Lindab",
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});