Search the manual:

Overview Quick start Download Manual How to buy FAQ Contact Us
OZEKI NG SMS Gateway - Product Guide

Character sets Contents | SearchValidity period

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

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  Tutorials
  ASP SMS API
  PHP SMS API
  HTTP SMS API
  Send message
  URL template
  Multiple SMS
  Browser redirect
  Character sets
  HTML response
  Validity period
  Receive message
  Billing methods
  Urlencode
  Select operator
  Operate with single message
  Query the addressbook
  Operations with message folders
  Examples
  User handling
  Service Provider Connection Handling
  Reporting API
  Dynamic SMPP parameters
  SQL SMS API
  C Sharp SMS API
  AJAX SMS API
  Delphi SMS API
  Cpp SMS API
  Java SMS API
  VB.NET SMS API
  Python SMS API
  Perl SMS API
  TCL/TK SMS API
  Coldfusion SMS API
  VB 6 SMS API
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
 



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.


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

Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls

Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client

Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions

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 - 2013 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com