Sendquick API Guide v2.9
Sendquick API Guide v2.9
Table of Contents
1. Introduction......................................................................................................................................3
2. SMTP (Email) Method.....................................................................................................................3
3. Send and Receive SMS API.............................................................................................................4
3.1 Overall Transaction Flow...........................................................................................................4
3.2 Send SMS API...........................................................................................................................4
3.2.1 HTTP Method....................................................................................................................6
3.2.2 XML Method......................................................................................................................6
3.2.3 SOAP Method....................................................................................................................7
3.2.4 JSON Method.....................................................................................................................9
3.3 Receiving SMS .......................................................................................................................10
3.3.1 HTTP Method..................................................................................................................10
3.3.2 XML Method....................................................................................................................10
3.3.3 SOAP Method..................................................................................................................11
3.3.4 JSON Method...................................................................................................................11
3.4 Getting Outgoing SMS Status via HTTP.................................................................................11
3.5 Delete Outgoing SMS via HTTP.............................................................................................12
3.6 Check Outgoing SMS Status via HTTP..................................................................................12
3.7 Example Applications.............................................................................................................13
3.7.1 Sending of SMS...........................................................................................................14
3.7.2 Global Script for Receiving SMS...............................................................................14
3.7.3 Route by Specific SMS Keyword..............................................................................15
3.7.4 Script that Generate a SMS Response to Sender........................................................16
3.7.5 Advance Topic for trackid and status_url...................................................................17
3.7.6 Using Parameter 'label'...............................................................................................19
4. FTP Method....................................................................................................................................20
4.1 FTP File Structure & Format...................................................................................................20
5. Sending SMS to sendQuick ASP (Hosted/Cloud SMS).................................................................22
6. Useful Free Utilities.......................................................................................................................25
6.1 curl..........................................................................................................................................25
6.2 wget.........................................................................................................................................25
9.3 Java Command Tool...............................................................................................................26
Appendix A: Change History.............................................................................................................27
1.
Introduction
This document gives an overview on the different methods of connecting between sendQuick SMS
gateway (sQ) and an application server (AppServ), for sending and receiving SMS.
There are several ways of connecting to sQ:
SMTP (email)
HTTP
FTP
XML
SOAP
JSON
2.
Sending SMS
The setting for the message sending e-mail is <tar_num>@<serverIP/domainname>
Example:
If you set the IP address 192.168.1.8, then the e-mail for sending messages is
<label>-<tar_num>@192.168.1.8
You will need to e-mail to sQ server in the following format:
To
Subject
Message
:
:
:
[email protected]
Test message
Test message for you.
There is no difference for sending SMS messages via email for different languages. The system
will be able to recognize from the email header.
Receiving SMS
The received SMS message will be sent to the e-mail specified. An example of the received e-mail is as
below.
From :
Date :
To
:
Subject :
[email protected]
Monday, June 10, 2002 2:31 PM
[email protected] <[email protected]>
SMS From 91234567
Sender: 91234567
Timestamp: 02/06/10,14:32:54+32
Message: Test
Copyright 2013, TalariaX Pte Ltd
SendQuick API Guide 2.9
3.
3.1
Description:
1. Since SMS are basically text content messages, thus simple HTTP or web submit (POST or
GET) should be sufficient for transferring the data between the sQ and AppServ. Both sQ
and AppServ will be communicating via standard HTTP (POST/GET) access.
2. AppServ need to enable its web service to accept HTTP (POST/GET) submit from sQ.
3. sQ will need to be configured the URL path submission to AppServ. This can either be a
global or per keyword configuration.
4. For sending SMS, AppServ will need to initiate a HTTP (POST/GET) to the HTTP API of
the sQ system.
3.2
Description
Data Type
tar_num
This is the parameter for target or recipient
(Mandatory) mobile number. For international format,
the '+'# character must be used.
To send multiple numbers, use ',' to
separate the numbers.
tar_msg
This parameter is the message content for
(Mandatory) the recipient. This string must be encoded
into URL encoded string, otherwise, the
recipient may receive partial or corrupted
message.
Example: +6591234567
For multiple numbers, +651234567,
+658888888
Parameter
Description
Data Type
tar_mode
clientid
trackid*
status_url
priority
Example:
http://192.168.1.10/webroot/mymessage
-status.php
Example: 5
dr
mov
Parameter
Description
Data Type
The usage of trackid and status_url will be discussed in the section 3.5.
Refer to section 3.7.6 for discussion.
Standard HTTP (POST/GET) treat '+' as a blank space.
**
#
sendsms.cgi Response
Type
Response
OK
Queue: <sendQuick-message-ID>
OK
Queue:
<sendQuick-message-ID1>-<tar_num1>
<sendQuick-message-ID2>-<tar_num2>
<sendQuick-message-ID3>-<tar_num3>
...
<sendQuick-message-IDn>-<tar_num1n>
<tar_num>+65912345678</tar_num>
<tar_msg>test xml frm </tar_msg>
<tar_mode>text</tar_mode>
<priority>3</priority>
</info>
</post_data>
Exaple for Multiple Mobiles
<?xml version="1.0"?>
<post_data>
<info>
<tar_num>+65912345678,+65912345679,+65912345676</tar_num>
<tar_msg>test xml </tar_msg>
<tar_mode>text</tar_mode>
<priority>3</priority>
</info>
</post_data>
sendsms_xml.php Response
Type
Response
<mobilenum>:<message id>
<mobilenum>:<message id>
<mobilenum>:<message id>
<mobilenum>:<message id>
...
<mobilenum n>-<message id n>
ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns5130:processAPI
xmlns:ns5130="http://tempuri.org"><tar_num xsi:type="xsd:string">+65912345678</tar_num><tar_msg
xsi:type="xsd:string">test soap</tar_msg><tar_mode
xsi:type="xsd:string">text</tar_mode></ns5130:processAPI></SOAP-ENV:Body></SOAP-ENV:Envelope>
sendsms_soap.php Response
Type
For single tar_num
Response
HTTP/1.1 200 OK
Date: Wed, 31 Oct 2012 02:57:55 GMT
Server: Apache
X-Powered-By: PHP/5.4.4
Set-Cookie: PHPSESSID=rsoojeoc8k3emff48lhc643uq0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, precheck=0
Pragma: no-cache
X-SOAP-Server: NuSOAP/0.7.3 (1.114)
Content-Length: 493
Connection: close
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAPENV:Body><ns1:processAPIResponse
xmlns:ns1="http://tempuri.org"><return
xsi:type="xsd:string">+65912345678:10</return></ns1:processAPIRespons
e></SOAP-ENV:Body></SOAP-ENV:Envelope>
HTTP/1.1 200 OK
Date: Wed, 31 Oct 2012 02:57:55 GMT
8
Server: Apache
X-Powered-By: PHP/5.4.4
Set-Cookie: PHPSESSID=rsoojeoc8k3emff48lhc643uq0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, precheck=0
Pragma: no-cache
X-SOAP-Server: NuSOAP/0.7.3 (1.114)
Content-Length: 493
Connection: close
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAPENV:Body><ns1:processAPIResponse
xmlns:ns1="http://tempuri.org"><return
xsi:type="xsd:string">+65912345678:10
+65912345679:11
+65912345676:12</return></ns1:processAPIResponse></SOAPENV:Body></SOAP-ENV:Envelope>
sendsms_json.php Response
Type
Response
<mobilenum>:<message id>
<mobilenum>:<message id>
<mobilenum>:<message id>
<mobilenum>:<message id>
...
<mobilenum n>-<message id n>
3.3
Receiving SMS
This is for incoming SMS. sendQuick will post to the Client API registered in sendQuick. The
receiving script should accept the following input parameters:
Parameters
Description
mno
txt
dtm
charset
The character set of the content. Either 'text' for ASCII message or 'utf-8'
for unicode UTF-8 message.
10
3.4
This is for sendQuick server to call back client's status_url to update the message status, after
sending out SMS. The status_url should accept the following input parameters:
Parameters
Description
trackid
This will be the trackid submitted by the AppServ for sQ to track the
status of the outgoing SMS
status
Y sent successful
F failed to send.
totalsms
This will be the integer value of the total SMS used for sending the
11
Parameters
Description
complete message.
NOTE: Not applicable for status D and R
mno
Example
Step 1: http://192.168.1.101/cmd/system/api/sendsms.cgi?
tar_num=+6512345678&tar_msg=test&tar_mode=text&trackid=1001&status_url=http://yourclientserveri
p/apipath/api.cgi
Step 2: SMS will be processed in sendQuick server accordingly and sendQuick will response the message
status upon Successful or Failure to the status_url
Step 3: http://yourclientserverip/apipath/api.cgi?trackid=1001&status=1&totalsms=1&mno=+6512345678
3.5
Description
trackid
tar_num
Note: If tar_num is excluded in the parameters, all the message that is associated with the trackid
will be deleted from the system.
Example
http://192.168.1.101/cmd/system/api/reqdelete.cgi?tar_num=+6512345678&trackid=1001
3.6
API status URL path: /cmd/system/api/msgstatus.cgi (if sendsms.cgi is used for sending sms)
The input parameters are as follows:
Parameters
mode
Description
queue only.
Data Type
The value should be alphanumeric
which is as predefined.
Example: queue
12
msgid
The <sendQuick-message-ID>
returned from sendsms.cgi
Example
Sample HTTP Request
http://192.168.1.20/cmd/system/api/msgstatus.cgi?mode=queue&msgid=M12345
OR
http://192.168.1.20/webapp/msgstatus.php?mode=queue&msgid=m12345
Sample HTTP Response
<start-process-dtm><tab><completed-process-dtm><tab><modemimei><tab><smsc><tab><tar_num><tab><tar_msg>
31-10-012 10:57:56 31-10-012 18:33:45 Y 359126030021471 +6596845999 +6582821664 test message
3.7
+6596845999
202.63.133.40
Example Applications
In this section, a few sample scripts will be shown on how the application server (AppServer) needs
to be prepared for accepting input from sQ system. The programming language for the example will
be in PHP or Perl, but the underlying concept is similar for all HTTP scripting or programming
platform. The discussion will be presented using a few example applications.
13
NOTE:
This script use LWP module of Perl. Please download the LWP module from
http://search.cpan.org in order to test the script.
To configure global receiving script, we need to specify the URL path to the sendQuick server. This
is done by configuration in the SMS System Setup. Refer to the sample screenshot below:
Description:
Enter the URL path into the SMS Response URL in the SMS System Setup.
The screenshot above assume the AppServ IP: 192.168.1.22 and path is /sms/receivesms.php
Refer to the following example on how receiving script read the received SMS.
Sample Code 2: How receiving SMS can be done using PHP
<?php
/* Even though there are total 4 input parameters,
charset and dtm is not applicable for this example,
so we ignore them completely. */
$mno = $_REQUEST['mno'];
$msg = $_REQUEST['txt'];
if( !isset($mno) || !isset($msg) ){
echo Invalid input - Missing data;
14
exit;
}
if( strlen($mno) == 0 || strlen($msg) == 0 ){
echo Invalid input - Blank data.;
exit;
}
try {
/* now we had captured the data, we store it into our database table.
We use SQLite (standard module in PHP 5.1.x and above) to store the message.
To create this table, just download sqlite3 from http://www.sqlite.org/
use the command line utility to create this database (messagedb.sqlite)
and table: incoming_sms:
CREATE TABLE `incoming_sms` (`idx` INTEGER PRIMARY KEY , `mno` VARCHAR, `txt` VARCHAR)
NOTE: Highly recommend to use Firefox plugin to manage SQLite database:
http://sqlitemanager.mozdev.org/
*/
// NOTE: Path to the messagedb.sqlite required to full path.
$dbh = new PDO('sqlite://<path>/<to>/messagedb.sqlite');
$stmt = $dbh->prepare("INSERT INTO incoming_sms (mno,txt) VALUES (:mno, :txt)");
$stmt->bindParam(':mno',$mno);
$stmt->bindParam(':txt',$msg);
$stmt->execute();
} catch ( Exception $e ) {
$msg = $e->getMessage();
echo DB ERROR: ", $msg;
exit;
}
?>
<html>
<body>
Message Received. Thank You.
</body>
SMS Keyword here refers to the first word of the received SMS message. To enable this option,
create the desired SMS keyword under SMS Keyword Management. Refer to the following
screenshot:
15
Description:
In this example, the SMS keyword is 'sms'. This means that in order to trigger this
processing, user will need to enter a SMS message starting with the word 'sms'. eg: 'sms
hello world'
For HTTP processing, the other input fields of the keyword creation are not needed.
Since the input parameters will be the same as the global receiving script, refer to Example
3.2 for how receiving process can be done.
The objective of this example is to show how a script can generate a SMS reply to the sender upon
receiving the SMS message. It will use the send SMS API (describe in section 3.2) for sending of
SMS messages.
Sample Code 3: Sending SMS back to sender once received a SMS in PHP
<?php
/* Even though there are total 4 input parameters,
charset and dtm is not applicable for this example,
so we ignore them completely. */
$mno = $_REQUEST['mno'];
$msg = $_REQUEST['txt'];
if( !isset($mno) || !isset($msg) ){
echo Invalid input - Missing data;
exit;
}
if( strlen($mno) == 0 || strlen($msg) == 0 ){
echo Invalid input - Blank data.;
exit;
}
try {
/* now we had captured the data, we store it into our database table.
We use SQLite (standard module in PHP 5.1.x and above) to store the message.
To create this table, just download sqlite3 from http://www.sqlite.org/
use the command line utility to create this database (messagedb.sqlite)
and table: incoming_sms:
CREATE TABLE `incoming_sms` (`idx` INTEGER PRIMARY KEY , `mno` VARCHAR, `txt` VARCHAR)
NOTE: Highly recommend to use Firefox plugin to manage SQLite database:
http://sqlitemanager.mozdev.org/
*/
// NOTE: Path to the messagedb.sqlite required to full path.
$dbh = new PDO('sqlite://<path>/<to>/messagedb.sqlite');
$stmt = $dbh->prepare("INSERT INTO incoming_sms (mno,txt) VALUES (:mno, :txt)");
$stmt->bindParam(':mno',$mno);
$stmt->bindParam(':txt',$msg);
$stmt->execute();
} catch ( Exception $e ) {
$msg = $e->getMessage();
echo DB ERROR: ", $msg;
exit;
}
// Now we generate a response to the sender.
$url = http://192.168.1.27/cmd/system/api/sendsms.cgi;
$tar_mno = $mno;
$tar_msg = You said: $msg\nI said: Thank you.;
// URL encoding should always be utilised for proper data passing.
$param = tar_num= . urlencode($tar_mno) .
&tar_msg= . urlencode($tar_msg) .
&tar_mode=text;
/* We use curl library for HTTP submit, this may require additional setup in PHP
in order to be usable.
Refer http://www.php.net for the documentation on how this can be enable. */
16
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $param);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$urlresp = curl_exec($ch);
?>
<html>
<body>
Message Received. Thank You.
Your response: <?php echo urlresp;?>
</body>
Description:
Application Server (AppServ) call send SMS HTTP API for sending SMS.
AppServ must provide trackid and status_url for sendQuick (sQ) to return the process result
to AppServ.
Upon completed processing, sQ will call the status_url and return the result of the outgoing
SMS message.
To demonstrate this example, we will need 2 scripts. The first script (Example 4) will be a perl
script for making HTTP submit, the second script (Example 5) will be a php script that read the
input of the message and generate an email to inform the user of message status.
17
18
To use the parameter, a string must be used to associate with a modem. This string cannot contain
space character. Refer to below screenshot:
Description:
Mode IMEI is the unique string set for each modem. This can be found under the modems
status page.
Modem Label can be any string (without space character), and can be a same string of
another modem. If the there is 2 modem set with a same string, the system would choose
these modem that at the modem is more idle than the other.
A modem can be associated with more than 1 label. Each label need to separated by a ","
character.
19
4.
FTP Method
URL: http://sendQuick_server_IP/appliance/
/smsftp/
This is the directory that you will be placing the file, once you login as 'smsapp' username
4.1
Remarks
20
Eg:
--------------------------------------------------------------------------------------------------96367680,how are you?
96180556,I am doing fine
---------------------------------------------------------------------------------------------------(c) File Type
File type allowed: text file with extension .msg. There are 2 text files to upload by FTP ( *.msg and
*.end). The data must be saved in the .csv and .end is just a blank file. At first, you have to put
.msg file in the folder ( /home/smsapp/smsftp ) and after successfully uploaded the .msg file, you
have to put the .end file in that folder to infom the system that file uploading is completed.
21
5.
This section covers the method for sending SMS from App Server to sendQuick ASP (SMS cloud
service). The following steps are for sending SMS via SMS Proxy link:
Step 1
You will need to provide your IP (to send to sendQuick ASP), so that this can be configured in
sendQuick ASP system.
Step 2
Our sendQuick ASP Administrator will provide a username and password.
Step 3
URL for submitting SMS: http://www.sendquickasp.com/cmd/system/api/smsproxy.cgi
The input parameters are as follows:
Parameter
Description
Data Type
tar_num
This is the parameter for target or recipient The number has to be numeric, with the
mobile number.
country code specified (for both local
and international). '+' sign is not needed.
Example: 6591234567
tar_msg
username
Alphanumeric format
passwd
Alphanumeric format
callerid
Alphanumeric format. Up to a
maximum of 11 characters is allowed.
22
Example:
To send a message "test SMS" to mobile number: 6596189556. (Assume user name and password is
"user" and "pass" respectively). The callerid is assumed to be "TEST"
URL: http://www.sendquickasp.com/cmd/system/api/smsproxy.cgi
tar_num=6596189556
tar_msg=test SMS
callerid=TEST
username=user
passwd=pass
The following code is the sample code in perl to submit the request of the example above:
#!/usr/local/bin/perl -w
use LWP;
use LWP::UserAgent;
use URI::Escape;
BEGIN:
{
my $url = "http://www.sendquickasp.com/cmd/system/api/smsproxy.cgi";
my $msg = "test SMS";
my $ua = LWP::UserAgent->new();
my $req = HTTP::Request->new(POST => $url);
my $param = "tar_num=6596189556&tar_msg=" . uri_escape($msg) .
"&username=user&passwd=pass&callerid=ipx";
$req->content($param);
my $res = $ua->request($req);
if( $res->is_success ){
print $res->content, "\n";
} else {
print $res->status_line, "\n";
}
exit;
}
NOTE:
The link assumes an international number format. Thus, all number must provide the
country code and area code if applicable (without the '+' character).
uri_escape should always be called whenever it is needed.
23
Return Result:
- sent
This means the message was sent successful
- unsent <text>
This means the message not sent successful. <text> is optional description/remark of the post result.
- queued
This means, the message has been queued, and awaits provider to return the success status.
24
6.
This section will discuss some freely available utilities for sending SMS.
6.1
curl
curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP,
HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. It available for Linux and
Windows platform.
Since is a command line tool, it is very useful for applications that capable of executing external
applications.
Example:
$> curl --data-urlencode "tar_num=9123567" --data-urlencode "tar_msg=this is a test SMS & it is using curl for
sending" http://<sendQuick IP>/cmd/system/api/sendsms.cgi
NOTE: --data-urlencode only available for version 7.18.0 and above. It is highly recommended to
use 7.18.0 and above for applications. For lower version, before executing curl, the content will
need to be URL encoded before submission.
Curl can be downloaded from:
http://curl.haxx.se/
6.2
wget
GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most
widely-used Internet protocols. It is a non-interactive command line tool, so it may easily be called
from scripts, cron jobs, terminals without X-Windows support, etc.
Example:
$> wget --post-data 'tar_num=9123456&tar_msg=this is a test' -O result.txt http://<sendQuick
IP>/cmd/system/api/sendsms.cgi
--2008-05-20 18:00:08-- http://202.172.42.35/cmd/system/api/sendsms.cgi
Connecting to 202.172.42.35:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `result.txt'
[ <=>
] 19
--.-K/s in 0s
This example will save the POST result into 'result.txt'. However, wget does not perform URL
encoding. Hence this utility only suitable for messages without special characters. Wget comes
default for all Linux platform. For Windows, the latest version can be found from here:
http://www.christopherlewis.com/WGet/default.htm
25
9.3
This Java example command tool is written by TalariaX. It is a simple utility for sending SMS via
HTTP POST to sendQuick device.
Example:
$> java httppost 96189556 this is a test http://<sendQuick IP>/cmd/system/api/sendsms.cgi
Sample Code 6: Java command tool for sending SMS.
Filename: httppost.java
import java.lang.*;
import java.net.*;
import java.io.*;
public class httppost {
private static String sendsms_url = "http://<sendQuick IP>/cmd/system/api/sendsms.cgi";
public static void main(String[] args){
/*
* java httppost <mobile number> <SMS message> <sendQuick URL>
* eg:
* java httppost "+6591234567" "This is a test SMS" <sendQuick URL>
*/
String mno = args[0];
String msg = args[1];
String url = args[2];
sendsms_url = url;
HttpSubmit(mno, msg);
}
public static void HttpSubmit(String mno, String msg)
{
URL url;
URLConnection urlConn;
DataOutputStream printout;
BufferedReader input;
try {
// URL of CGI-Bin script.
url = new URL (sendsms_url);
// URL connection channel.
urlConn = url.openConnection();
// Let the run-time system (RTS) know that we want input.
urlConn.setDoInput (true);
// Let the RTS know that we want to do output.
urlConn.setDoOutput (true);
// No caching, we want the real thing.
urlConn.setUseCaches (false);
// Specify the content type.
urlConn.setRequestProperty("Content-Type",
"application/x-www-form-urlencoded");
// Send POST output.
printout = new DataOutputStream (urlConn.getOutputStream ());
String content ="tar_num=" + URLEncoder.encode (mno, "UTF-8") +
"&tar_msg=" + URLEncoder.encode(msg, "UTF-8");
printout.writeBytes (content);
printout.flush ();
printout.close ();
// Get response data.
input = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
String str;
while (null != ((str = input.readLine()))) {
System.out.println (str);
}
input.close ();
} catch ( Exception e ){
e.printStackTrace();
}
}
}
26
Consolidated sendQuick HTTP API Guide v2.7 into sendQuick API Guide 1.0
Added SMTP, FTP methods and new API methods XML, SOAP, JSON
Added new API URL path for checking outgoing SMS status via XML, SOAP, JSON
Version 1.1
Re-arrange the section of header. Remove header 6/7/8 and put it under 3.2.
27