Alerts APIs
-
Send Alerts to gzipped Array of Contacts and Hotline
Description: Launches an alert using any combination of the given message types and also posts the voice message content to the specified hotline. Voice is required for this method. The gzip compressed contacts array xml should be sent in the HTTP POST body using a content-type of application x-www-form-urlencoded.Usage:
POST api/Alerts/Send/Publish/Compressed/{TaskName}/{VoiceCode}/{FaxCode}/{SMSCode}/{EmailCode}/{PagerCode}/{Hotline}
Parameter Type Source Description TaskName String FromUri The name of the alert. VoiceCode Int32 FromUri The unique numerical code of the voice message to send. A value of 0 will cause this to be ignored. FaxCode Int32 FromUri The unique numerical code of the fax message to send. A value of 0 will cause this to be ignored. SMSCode Int32 FromUri The unique numerical code of the sms message to send. A value of 0 will cause this to be ignored. EmailCode Int32 FromUri The unique numerical code of the email message to send. A value of 0 will cause this to be ignored. PagerCode Int32 FromUri The unique numerical code of the pager message to send. A value of 0 will cause this to be ignored. Hotline String FromUri The phone number of the hotline to publish the voice message to Returns:
Returns the numerical jobcode
Examples:
//-- Currently no examples for XML --//