Alerts APIs
-
Send Alerts to 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.Usage:
POST api/Alerts/Send/Publish/{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. Contacts Contact[] FromBody Contact array to send the messages to. 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 --//