SOAP API
You can view our SOAP/XML API here: http://www.smsglobal.com.au/mobileworks/soapserver.php
Here is how our SOAP API works:
Basically you can ignore most of those methods in the API (mostly the Buddy related ones), but all you need to do is:
Call the “apiValidateLogin” method, with your username and password, and this will return a ticket. This ticket is valid for as long as your requests come from the same IP address.
Then you can call the “apiSendSms” method.
parts:
ticket: xsd:string
sms_from: xsd:string
sms_to: xsd:string
msg_content: xsd:string
msg_type: xsd:string
unicode: xsd:string
schedule: xsd:string
The ticket field is the ticket from the apiValidateLogin method.
The from field is who the SMS is coming from. If you use alphanumeric text, it has to be 11 characters or less.
The to field is the who you are sending the SMS to. It can be in either 0418… or 61418… format, it will automatically convert it.
The content is the body of the SMS.
Set msg_type to “text”
Set Unicode to “0”
And leave the schedule “” blank.
You can call the logout function if you wish, it will just clear the ticket in the system, but not essential, as if you call the login again, it will just create a new ticket overwriting the old one.
|