TX Nefario - шаблон joomla Форекс
Log in Register

Login to your account

Username *
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name *
Username *
Password *
Verify password *
Email *
Verify email *
Captcha *

                                                                  SmsAlart Application Programme Interface (API)



SmsAlart offers you the opportunity to send SMS without visiting the website through its powerful Application Programme Interface (API). With the API you can send SMS from a Standalone Application, Web Application, Mobile Application, Website, etc. In addition you can check your SMS balance with the API.





API configuration for SENDING SMS.



API cofiguration for CHECKING SMS Balance.



The parameters are:

1.recipient: The destination phone numbers. Separate multiple numbers with comma(,)
3.username: Your SmsAlart account username
4.password: Your SmsAlart account password
5.sender: The sender ID to show on the receiver's phone
6.message: The text message to be sent
7.balance: Set to true only when you want to check your credit balance
6.schedule: Specify this parameter only when you are scheduling an SMS for later delivery. It should contain the date the message should be delivered. Supported format is "2009-10-01 12:30:00" i.e "YYYY-MM-DD HH:mm:ss"




Below is the list of the Server Responses and their meanings

2904=SMS Sending Failed
2905=Invalid username/password combination
2906=Credit exhausted
2907=Gateway unavailable
2908=Invalid schedule date format
2909=Unable to schedule
2910=Username is empty
2911=Password is empty
2912=Recipient is empty
2913=Message is empty
2914=Sender is empty
2915=One or more required fields are empty
2916=Sender ID not allowed




For instance, after sending a message, a response similar to the one below might be generated.

OK 21 08033333333,08022222222,08055555555

This means: OKno of sms credits usedgsm numbers that failed


where 21=no of sms credits used
and 08033333333,08022222222,08055555555 are the 3 numbers that failed


Note that it is of best practice to urlencode the API for successful delivery.