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