Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Character sets Contents | SearchValidity period

Home > Product Manual > Developers Guide > HTTP SMS API > Send message > HTML response

 


Automated phone calls?
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. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

HTTP SMS API - Example #2 - Html response

This example shows you the HTML response format when you post two SMS messages and you specify the continue url. The html response format is invoked by adding the "responseformat" parameter to the URL. Note that the recipient parameter contains two telephone numbers separated by a colon. The first telephone numbers is written using the international telephone number format, which means it starts with a plus sign and a country code. The URL also contains a parameter called "continueurl". This parameter carries the urlencoded URL of www.yahoo.com.

Example request:

http://127.0.0.1:9501/api?action=sendmessage&username=admin&password=abc123&
recipient=%2B4412345678,06203105366&messagetype=SMS:TEXT&messagedata=Hello+World&
responseformat=html&continueurl=http%3A%2F%2Fwww.yahoo.com

Example response:

HTTP/1.1 200 OK
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 370
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 13 Feb 2008 23:32:56 GMT
Server: OzekiNG/3.0.1 Microsoft-HTTPAPI/1.0
Date: Wed, 13 Feb 2008 22:32:56 GMT

<HTML>
<HEAD>
   <TITLE>SMS</TITLE>
<BODY>

Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: ZLBTLETB<br>
Recipient: +4412345678<br>
<br>
Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: WSDFIRZI<br>
Recipient: 06203105366<br>
<br>
<a href='http://www.yahoo.com'>Click here to continue</a>

</BODY>
</HTML>




Next page: Validity period
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Developers Guide > HTTP SMS API > Send message > HTML response
Legal | Privacy | Terms of use | 2430
3.235.107.209 | 92.118.27.157 | Login