SendMultiMessageWithReference
Sends an SMS message to the given phone number using two upstream routes to maximize chances for delivery of extremely high priority messages.
// uses JQuery library/** NOT CURRENTLY AVAILABLE **/<?php// using SOAP Module - http://ca3.php.net/soap
class SMSParam { public $CellNumber; public $AccountKey; public $MessageBody; public $Reference;}
$client = new SoapClient('https://secure.smsgateway.ca/sendsms.asmx?WSDL');$parameters = new SMSParam;
$parameters -> CellNumber = destinationNumber;$parameters -> AccountKey = accountKey;$parameters -> MessageBody = "This is a demonstration of SMSGateway.ca using PHP5.";$parameters -> Reference = reference;
$Result = $client->SendMultiMessageWithReference($parameters);?>' Service Reference (SOAP)Using client = New SwiftSMS.SendSMSSoapClient Dim response = client.SendMultiMessageWithReference(destinationNumber, messageBody, accountKey, reference)End Using
' WebClient (REST)'** NOT CURRENTLY AVAILABLE **'HTTP POST:### NOT CURRENTLY AVAILABLE ###// Service Reference / SOAPusing (var client = new SwiftNew.SendSMSSoapClient()){ var response = client.SendMultiMessageWithReference(destinationNumber, messageBody, accountKey, reference);}
// Web Client / REST/** NOT CURRENTLY AVAILABLE **/HTTP Request
| Parameter | Description | Location |
|---|---|---|
| AccountKey | Your Swift SMS Gateway account key | URL |
| DestinationNumber | Cell number to receive the text message | URL |
| MessageBody | Body of the message to send | BODY |
| Reference | Internal Reference ID | BODY |
Returns
string
See (SendMessage).