//-- Intent: retrieve the count of records for the sms alerts sent for job 1541867 --// //-- that contain an EntityName like "Lindab". --// $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Alerts/Reports/Text/Search/Count/1541867/EntityName/Lindab", dataType: "json" success: function(result) { // Do something with the result } });