GetSentMessagesAfterIDSimple
Returns an array of (at most 1000) sent SMS Messages with IDs greater than the given one in strings with fields separated by the tilde (~) character. Field order is MessageID ~ CellNumber ~ MessageBody ~ SentDate ~ Success ~ Reference.
// uses JQuery library/** NOT CURRENTLY AVAILABLE **/<?php// using SOAP Module - http://ca3.php.net/soap
class SMSParam { public $AccountKey; public $MessageNumber;}
$client = new SoapClient('https://secure.smsgateway.ca/sendsms.asmx?WSDL');$parameters = new SMSParam;
$parameters -> AccountKey = accountKey;$parameters -> MessageNumber = messageNumber;
$Result = $client->GetSentMessagesAfterIDSimple($parameters);?>' Service Reference (SOAP)Using client = New SwiftSMS.SendSMSSoapClient Dim response = client.GetSentMessagesAfterIDSimple(accountKey, messageCount)End Using
' WebClient (REST)'** NOT CURRENTLY AVAILABLE **'HTTP POST:### NOT CURRENTLY AVAILABLE ###// Service Reference / SOAPusing (var client = new SwiftSecure.SendSMSSoapClient()){ var messages = client.GetSentMessagesAfterIDSimple(accountKey, messageNumber);}
// Web Client / REST/** NOT CURRENTLY AVAILABLE **/HTTP Request
GET:/services/message.svc/:accountKey/afterId/:messageCount| Parameter | Description | Location |
|---|---|---|
| accountKey | Your Swift SMS Gateway account key | n/a |
| messageId | The unique Message ID of the SMS to retrieve messages after | n/a |
Returns
Array of string