OZEKI
Message Server 6
"The world's favourite SMS server"
info@ozeki.hu
Tel.: 00 36 52 532 731

SMS Server 6
On-line manual
Introduction
SMS technology
MMS technology
About
Product features
Installation guide
User guide
Developers guide
General information
Languages
C++ SMS
SQL SMS
HTTP SMS
HTTP Client SMS
HTTP Server SMS
md5
Files SMS
Java SMS
PHP SMS
ASP SMS
Delphi SMS
C# SMS
Access SMS
SMS FAQ
Case studies
Appendix
Search
Download
Home
Support
How to buy
Resellers
SMS Wall
IP SMS Gateway
Excel SMS
Company


On-line manual:
  Explore all the features in this on-line HTML documentation.
Product guide:
  This downloadable pdf explains all the features of Message Server 6.


Newsletter:
  Sign up to get news about product updates!

E-mail:
  You can send tech. questions in e-mail to the following address: info @ ozeki.hu


Did you know?
Ozeki offers a very high performance SMS Gateway system as well called Ozeki NG SMS Gateway. It can send and receive up to 500 SMS messages per second.

Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers.

Ozeki VoIP SIP SDK is a great tool for software developers who wish to get involved in voip phone client or voip phone service development.

OZEKI MESSAGE SERVER - Product Guide

HTTP Client SMS Contents | Searchmd5

Home > Developers guide > Languages > HTTP SMS > HTTP Server SMS

SMS API for webdevelopers (HTTP Server)

Ozeki Message Server 6 has a built in HTTP server. This means, that simply using HTTP client requests you can send / receive SMS messages and you can control the SMS server. This guide explains the basic HTTP interface elements.

I. How to check the number of credits

HTTP Request:

http://127.0.0.1:9333/ozeki?action=getCredits& ozmsUserInfo=admin:abc123
or


http://127.0.0.1:9333/ozeki? action=getCredits&
ozmsUserInfo=admin:e99a18c428cb38d5f260853678922e03


HTTP Response:

<Response><Action>getCredits</Action><Data> -1</Data></Response>


Note:

  • The number of credits determine how many SMS messages can be sent by the user. If this number is -1 it means unlimited. 
  • The action parameter specifies the command you are executing. In this case the command is getCredits
  • The ozmsUserInfo parameter specifies the user. You can put the user information in plain text, or you can use the md5 checksum   of the password, which would give you a little more protection.

    II. How to send an SMS message

    HTTP Request:


    http://127.0.0.1:9333/ozeki?action=sendMessage&
    ozmsUserInfo=admin:abc123&recepient=06203105366& messageData=hello+world"> http://127.0.0.1:9333/ozeki?action=sendMessage&ozmsUserInfo
    =admin:abc123&recepient=06203105366& messageData=hello+world

    HTTP Response:

    <Response>
         <Action>sendMessage</Action>
        <Data>[ACCEPTREPORT]</Data>
    </Response>

    ACCEPTREPORT:
    <AcceptReport>
          <StatusCode>0</StatusCode>
          <StatusText></StatusText>  
         <MessageID>1737016</MessageID>
    </AcceptReport>

    Note:

  • When you send a message you must specify the recepient and the messageData fields. The values must be urlencoded.
  • The action  parameter specifies the command you are executing. In this case the command is  sendMessage
  • The ozmsUserInfo parameter specifies the user information. 
  • If the message is accepted for delivery you receive an AcceptReport containing a StatusCode of zero (0) and a message id string 
  • If the message is not accepted for delivery the StatusCode is greater than zero and the StatusText contains the error message
  • If this user name and password is invalid, the server returns an HTML page containing a login prompt.




  • Next page: md5