Scheduler APIs
-
Activate or Deactivate Schedule
Description: Activate or deactivate scheduled alertUsage:
PUT api/Alerts/Schedules/Toggle/{ScheduleCode}/{Enabled}
Parameter Type Source Description ScheduleCode Int32 FromUri Unique numerical code identifying the scheduled alert Enabled Boolean FromUri True if the scheduled alert should be enabled Returns:
0 on success
Examples:
<!-- Intent: Deactivates scheduled alert with schedulecode of 597737 PUT to the following url http://api.v4.swiftreach.com/api/Alerts/Schedules/Toggle/597737/false --> <!-- No XML input is required --> <!-- example return value --> <int>0</int>