Alerts APIs
-
Count Alert Campaigns
Description: Returns the total number of jobs that ran within the given dates.Usage:
GET api/Alerts/Count/{BeginDate}/{EndDate}
Parameter Type Source Description BeginDate String FromUri The starting date of the period to look in. Must be in the format of MM-DD-YYYY. EndDate String FromUri The ending date of the period to look in. Must be in the format of MM-DD-YYYY. Returns:
Returns the number of jobs
Examples:
<!-- Intent: retrieve a the total number of alerting campaigns between the given dates of 12/1/2012 and 12/31/2012. GET to the following url http://api.v4.swiftreach.com/api/Alerts/Count/12-1-2012/12-31-2012 --> <!-- No XML input is required --> <!-- Example Return Value --> <int>3</int>