Advance Messaging System: Sms Api Document
Advance Messaging System: Sms Api Document
SYSTEM
SMS
SMS API DOCUMENT
ADVANCE MESSAGING SYSTEMS
INDEX
1 Introduction 3
2 SMPP 4
3 HTTP 6
4 XML 16
Page | 2
ADVANCE MESSAGING SYSTEMS
Introduction
Page | 3
ADVANCE MESSAGING SYSTEMS
SMPP
The Short Message Peer-to-Peer (SMPP) is a protocol used by the
telecommunications industry for exchanging SMS messages between
Short Message Service Centers (SMSC) and External Short Messaging
Entities (ESME). The protocol is a level-7 TCP/IP protocol, which allows
fast delivery of SMS messages.
Page | 4
ADVANCE MESSAGING SYSTEMS
Requested Parameters:
Name Description
IP 5.10.90.210
Port 8899
Page | 5
ADVANCE MESSAGING SYSTEMS
HTTP
HTTP is a generic and stateless protocol which can be used for other
purposes as well using extensions of its request methods, error codes, and
headers. This document provides developers with instructions for
integrating SMS messaging services into various solutions using HTTP
API.
This HTTP API can be used in sending SMS, collecting delivery reports
along with HTTP API specification .This document also provide SMPP
specification including connection to advance messaging systems server,
bind options and specification for sending sms over SMPP
Page | 6
ADVANCE MESSAGING SYSTEMS
Description:
http://5.10.90.210:8080/websmpp/websms?
user=xxxx&pass=xx&sid=xxxxx&mno=961xxxxx&type=x&text=xxx
URL for Message Scheduling:
http://5.10.90.210:8080/websmpp/websms?
user=xxxx&pass=xx&sid=xxxxx&mno=961xxxxx&type=x&text=xxx
&gmt=xxxxx&schtime=xxxxxxxxxxxx
Name Description
Page | 7
ADVANCE MESSAGING SYSTEMS
Name Description
1 English 160
2 Unicode 280
4 Arabic 70
Examples:
● English Message:
http://5.10.90.210:8080/websmpp/websms?
user=testUser&pass=12345&sid=Test&mno=961xxxxx&type=1
&text=testing English message
Page | 8
ADVANCE MESSAGING SYSTEMS
● Unicode Message:
http://5.10.90.210:8080/websmpp/websms?
user=testUser&pass=12345&sid=Test&mno=961xxxxx&type=2
&text= 00740065007300740069006E006700200075006E006
90063006F006400650020006D006500730073006100670065
http://5.10.90.210:8080/websmpp/websms?
user=testUser&pass=12345&sid=Test&mno=961xxxxx&type=3
&text=testing $@ Character
● Arabic:
http://5.10.90.210:8080/websmpp/websms?
user=testUser&pass=12345&sid=Test&mno=961xxxxx&type=4
&text= ﻋرﺑﯾﺔ رﺳﺎﻟﺔ اﺧﺗﺑﺎر
● Scheduling:
http://5.10.90.210:8080/websmpp/websms?
user=testUser&pass=12345&sid=Test&mno=961xxxxx&type=1
&text=testing Schedule &gmt=+0530&schtime=201605101422
Note: The characters [ ] { } | \ ~ ^ will be counted twice. The characters & and # are restricted in
message content.
Page | 9
ADVANCE MESSAGING SYSTEMS
Response Format
On Successful Submission:
Response: 2541524
Page | 10
ADVANCE MESSAGING SYSTEMS
Page | 11
ADVANCE MESSAGING SYSTEMS
After Successful Submission, User can get Message Status via Following
URL:
http://5.10.90.210:8080/websmpp/websmsstatus?respid=2541524
Resulting status would be one of them from the following table:
Name Description
ATES Pending
DELIVRD Delivered
UNDELIV Undelivered
REJECTD Rejected
ACCEPTD Accepted
DELETED Deleted
UNKNOWN Unknown
Page | 12
ADVANCE MESSAGING SYSTEMS
After Successful Submission, User can get Message Status via Following
URL:
http://5.10.90.210:8080/websmpp/balanceReport?userid=systemid&
password=pwd
Page | 13
ADVANCE MESSAGING SYSTEMS
http://5.10.90.210:8080/websmpp/ downloadcoverage?
userid=systemid&password=pwd&format=x
Requested Formats:
1 XLS
2 PDF
3 CSV
Page | 14
ADVANCE MESSAGING SYSTEMS
Parameter Discription
Page | 15
ADVANCE MESSAGING SYSTEMS
XML
1. Message Submission
2. Status Enquiry
4.1 Message Submission: The URL used to post XML formatted data
is:
http://5.10.90.210:8080/websmpp/xmlsms
Page | 16
ADVANCE MESSAGING SYSTEMS
Page | 17
ADVANCE MESSAGING SYSTEMS
batch_id is unique id and used to identify all the messages( on all gsm
numbers) associated with this request.
Status will be 000 on successful Submission. For Other status please
check the xml status Code table.
Page | 18
ADVANCE MESSAGING SYSTEMS
http://5.10.90.210:8080/websmpp/xmlstatus
Page | 19
ADVANCE MESSAGING SYSTEMS
Page | 20
ADVANCE MESSAGING SYSTEMS
Page | 21