EmailReports APIs
-
Count Email Records Search Results
Description: Gets the total number of records for the given job using the search criteriaUsage:
GET api/Alerts/Reports/Email/Search/Count/{JobCode}/{SearchField}/{SearchCriteria}
Parameter Type Source Description JobCode Int32 FromUri the unique numerical code identifying the job to get records for SearchField String FromUri The field to search for criteria in Value Description TimeStamp The time the email was sent EntityName The name of the recipient entity EntityGuid Guid that uniquely identifies the recipient EmailAddress The email address of the recipient EmailResult The result of the message send SearchCriteria String FromUri The value to search for in the given field Returns:
Returns the total number of records for the given job
Examples:
<!-- Intent: retrieve the count of records for the email alerts sent for job 1546897 that contain an EntityName like "Nick". GET to the following url http://api.v4.swiftreach.com/api/Alerts/Reports/Email/Search/Count/1546897/EntityName/Nick --> <!-- No XML input is required --> <!-- example return value --> <int>1</int>