This web service provides methods that allow you to send text messages and emails to individuals or address book groups.
The following operations are supported. For a formal definition, please review the Service Description.
Sends a text message or email.
Username: Password: MessageType: Provide a semi-colon delimited string of message types. There must be one message type per destination. MessageType can be set to the following:
- 1 = Email.
- 2 = Text.
- 3 = Email and Text.
DestinationType: Provide a semi-colon delimited string of destination types. There must be one destination type per destination. DestinationType can be set to the following:
- 1 = Individual.
- 2 = Group.
Destination: Provide a semi-colon delimited string of destinations. Destination can be set to a valid mobile device number, an email address or a group name. This value must correspond to the value of the DestinationType parameter in order to be valid. Message: This message can be as long as you want. However for every message up to 145 characters, for messages longer than 160 characters, you will be charged one credit if you send it using a MessageType of Text. DateToSend: Provide a string date/time that represents the date/time that you want the message to be sent. If you want your message to be sent immediately set this parameter to null. Header: Provide a string header that represents the destination that the end user will recieve on there phone once the SMS has been received. Reference: Provide a unique string reference. This can be used later to find a batch of messages you have sent. The maximum length of this parameter is 64 characters. If you do not want to have a reference set this parameter to null. EmailSubject: This is optional if you are sending an email. If you do not set this parameter your email will not have a subject. If you do not need this set the parameter to null. MessagesSent: Provide an integer data type output parameter. This will be populated with the number of messages sent. AnyTimeBalance: Provide a decimal data type output parameter. This will be populated with the account's current any time balance after the messages have been sent. OffPeakBalance: Provide a decimal data type output parameter. This will be populated with the account's current off peak balance after the messages have been sent. ResultText: E.g. 2 messages were sent. You have 98.0 credits, 10.0 off peak credits remaining. Code: