Forthnet Mobile Platform - groupsms http interface v1.0 1 / 9

Similar documents
LINK Mobility SMS REST API MT and Delivery Reports Version 1.3; Last updated September 21, 2017

SMS Outbound. SMTP interface - v1.1

SMS Outbound. HTTP interface - v1.1

SMS-Bulk Gateway HTTP interface

Integrating with Cellsynt's SMS gateway via HTTP interface (technical documentation)

All requests must be authenticated using the login and password you use to access your account.

Response: Note: Please define Dynamic Value in ##Field## The following are the parameters used: For Unicode Message:

Quriiri HTTP MT API. Quriiri HTTP MT API v , doc version This document describes the Quriiri HTTP MT API version 1 (v1).

Way2mint SMS Mobile Terminate (MT) API Guide for HTTP HTTPS

Integration Guide Xura Messaging SMTP- Interface

cellip CELLIPS SMS INTERFACE DESCRIPTION HTTP GET INNEHÅLLSFÖRTECKNING

Integration Guide Xura Messaging HTTP-Interface

SMS Submit Interface description HTTP Version 1.5

API Documentation. Release Version 1 Beta

API Specification Doc

Gatesms.eu Mobile Solutions for Business

Technical Guide. REST API for Mobile Outbound SMS

Wired 2 Wireless Technology Solutions API Help Document Copyright Introduction. 2. Parameter list

Cloud SMS API Guide. Version 5.1

Message parameter details

Way2mint SMS Mobile Terminate (MT) API Guide for HTTP / HTTPS

Overview Introduction Messaging Error Codes Message parameter details Contact Details... 7

Revision: 50 Revision Date: :43 Author: Oliver Zabel. GTX Mobile Messaging SMS Gateway Interface Simple HTTP API Manual

eservices channel-any_name_for_sms Section

HTTP API-HELP DOCUMENT

PCCW mobile SMS Web Access 2.0 User Guide

LINK Mobility SMS REST API MO messages Version 1.1; Last updated June 07, 2017

USSD HTTP API SPECIFICATION Version 1.0 Teletalk Bangladesh Limited

ERMES. Technical Specification for ex MPAY services integration. version /10/2018

WE POWER YOUR MOBILE WORLD FTP INTEGRATION MANUAL

REST SERVICE. Web Services API Version 1.5

HTTP API. Table of Contents

API Spec Sheet For Version 2.5

SMS Pro/Billing Pro. Interface specification. Version 3.0.1

Bulk HTTP API Specification

text2reach2 SMS API Sep 5, 2013 v1.1 This document describes application interface (API) between SMS service provider (SP) and SMS gateway (SMSGW).

RouteMobile Mobile Client Manual for Android Version: 2.0

HTTP API Specification V2.7

SMSCenter. SMSCenter API

User Guideline v 2.1. For assistance please contact Grapevine on or

version 2.0 HTTPS SMSAPI Specification Version 1.0 It also contains Sample Codes for -.Net - PHP - Java

HTTP Specification Version 1.83

ezeesms URL API Documentation

Front Gateway Product Description for the connection between the SMS gateway and customer

HTTP API - HELP DOCUMENT

HTTP Based Unified API

PROFESSIONAL SMS APP CENTER USER MANUAL

NIC SMS SERVICE INTEGRATION

MyMobileAPI. mymobileapi.com. Windows Service Usage

HLR Lookup Service (Release 1.1.0)

XML API SMS GATEWAY. Issue 2.0 Dec XML API

Quenbec inc # henri bourassa H3L-3N3 Montreal, QC,Canada Toll free: Mobile

HTTP Interface API. for SMS Services. Version 2. Claude ICT Poland Sp. z o. o.

SMS Mobile Termination (MT) API Guide for HTTPS

edocs Aero Users Management

API-SMS HTTP/GET Interface Ref Push SMS, Balance, ACKs. April 18, 2017 v1.12

Excel-SMS Enotified. Excel-SMS Help Manual

SMPP Server User Guide

Pro Solutions Interface specification

SOAP API. The correct URL has been hidden. Please contact your account manager for the full URL information.

Bozoka mobilforward manual

Web Service API for. Document version 0.5 (2015-8) (Draft)

Quick Answers. You may create any Sender ID for the transactional route, provided the Sender ID should be of 6 alpha characters only.

User Configuration Settings

SMS HTTP API DOCUMENTATION December 2012

API Integration Guide

CLX Campaign Manager User Guide

BME Data Feed Interface Specifications. Version: Related to: BME Data Feed Release 13.0

1. Sending SMS using any client 2. Outlook Mobile Service (OMS) integrated SMS sending via outlook 2007 and 2010

Messaging Service REST API Specification V2.3.2 Last Modified: 07.October, 2016

API-SMS HTTP/POST Interface Ref Push SMS, Balance, ACKs. April 18, 2017 v2.15

Active Messenger User Guide

Websense Secure Messaging User Help

MultiTexter.com Smart Messaging System. HTTP Application Programming Interface

SMPP Gateway Manual. Route Mobile Limited. (Document version 1.5)

New Dashboard - Help Screens

SMPP Gateway Manual. SMPP Gateway Manual Page 1

SMS Relay. API Documentation SPLIO - SPRING Contact and Campaign SMS Relay API - EN v1.2.docx

Telenor Corporate Call & SMS. API Documentation

Sophisticated Simplicity In Mobile Interaction. Technical Guide Number Information Services - Asynchronous SOAP. Version 1.3

2. On completing your registration you will get a confirmation . Click on the link or paste the link into your browser to validate the account.

PRE BID REPLIES FOR NPCI:RFP: /0020 DATED RFQ FOR SMS GATEWAY SERVICES FOR INTEGRATION WITH FRM SOLUTIONS

WebSMS 5.0. User Guide. June 2011

SONERA OPERATOR SERVICE PLATFORM OPAALI PORTAL SMS. FREQUENTLY ASKED QUESTIONS, version 2.0

TS V6.1.0 ( )

mvaayoo API Ver 1.2.0

WhatsATool API - REST-Like Interface to WhatsATool Services

WAM!NET Submission Icons. Help Guide. March 2015

SMS4BD Gateway Integration

Implementation Guide for Delivery Notification in Direct

My MessageMedia User Guide

Fax Broadcast Web Services

Extended sms2 API Documentation

CHANGE REQUESTS TO. GSM 03.40, on Enhanced diagnostic Information for SM-MT GSM 04.11, 04.13, 07.08, on Introduction of RP-ACK User data

SMS for REST Professional

Quick help quide to GSM PDU mode structure

Configuration Tasks. Configuring the System Using CLI Commands. Configuring the System Using the GUI

Message Networking 5.2 Administration print guide

USER GUIDE. EBMS SECURE MailGate

API HTTP TECHNICAL DOCUMENTATION WEB-BASED SMS SENDING PLATFORM. Version Update: July 12th Mobile Marketing and Messaging Solutions

Transcription:

Table of Contents Introduction... 2 Requirements... 2 Connecting to Forthnet Mobile Platform... 2 Message submission... 3 Client Request... 3 Parameters... 4 Parameter user... 4 Parameter pass... 4 Parameter sender... 4 Parameter dest... 5 Parameter message... 5 Parameter not... 6 Server Response... 6 Delivery Notifications... 7 Parameters... 8 Parameter type... 8 Parameter msgid... 8 Parameter status... 8 Parameter timestamp... 9 References... 9 Forthnet Mobile Platform - groupsms http interface v1.0 1 / 9

Introduction The current document describes in detail the HTTP interface provided by Forthnet Mobile Platform for Short Message Service messages (SMSes) submission. The interface enables client applications to send SMSes to subscribers of mobile networks by conveying the message data in requests according to the HTTP protocol (for further information on the HTTP protocol please refer to [1] in References). The requests are received and parsed by the server and the appropriate SMSes are generated and delivered to the mobile subscribers. The Forthnet Mobile Platform supports only text SMSes for the time being. In addition, the Forthnet Mobile Platform supports delivery notifications, i.e. messages that convey the status of SMS transmission (e.g. confirmation that the SMS has been received by the recipient s handset). If a customer is enabled to use this feature, he can request delivery notifications on per SMS basis. If a submitted SMS requests for delivery notifications, the notifications related to the message are collected from the mobile network and are forwarded via HTTP to the client s server. Towards this, a client that desires the delivery notifications feature must provide to Forthnet his server details (i.e. the URL of the page that handles the notifications on the client s server) when his account is going to be activated. The Forthnet Mobile Platform supports both GET and POST methods for HTTP requests submission. This document describes the communication with Forthnet Mobile Platform for: SMS submission via HTTP GET requests, and Notifications Forwarding via HTTP GET requests. Requirements The Forthnet Mobile Platform Bulk SMS http interface doesn t impose any requirements on the operating system (MS Windows, UNIX, Linux, etc.) of the machine where the client application runs. On the contrary, the client application must only support the ability to send standard HTTP GET or POST requests. In addition, in order a user to be allowed to send SMSes via the interface, he must have an account. Connecting to Forthnet Mobile Platform In order a client application to send an HTTP request to the Forthnet Mobile Platform, it has to establish a (TCP/IP) connection with the server. The server s address is the following: http://athost:atport/smsc/insms NOTE: The AThost and ATport information are revealed upon the purchase of the service. Forthnet Mobile Platform - groupsms http interface v1.0 2 / 9

Message submission Client Request In order to submit an SMS using the GET HTTP method, a URL in the following format must be generated: http://athost:atport/smsc/insms?param1=value1&param2=value2&...&paramn =valuen Example URL http://athost:atport/smsc/insms?dest=%2b306977666777&sender=myname&message=ha ve+a+nice+day&user=demo&pass=demo Toward this, the client application must connect to the server (AThost:ATport) and send a GET request (formatted as follows): GET /smsc/insms?param1=value1&param2=value2& &paramn=valuen HTTP1/1\n Host: AThost:ATport\n \n (Three lines total. It is mandatory to send the third blank line) Please note that the values of the parameters must be URL encoded (see [2] in References). So, the value %2B306977666777 of parameter dest in the above example URL is the encoding of +306977666777. The following table presents some special character mappings according to URL encoding: Character URL encoding & %26 + %2B % %25 # %23 Blank space %20 = %3D? %3F ; %3B \n %0D Forthnet Mobile Platform - groupsms http interface v1.0 3 / 9

Parameters Table below contains a list of available parameters: Parameter Description M/O Type Valid Values / Limitations user Account username M String - pass Account password M String - sender Message sender O 1 Numeric or String dest Message destination(s) M Comma separated numstring list If it's a numeric sender of type shortcode we expect 3-6 digits length. If it s an alphanumeric sender we expect up to 11 latin chars (space included). If it s an MSISDN sender we expect it in international format starting with +. One up to 100 target MSISDNs in international format (starting with + ), i.e. +442345234553, +1432545543 message Message Body O 2 String Max 160 chars Message Boolean or The Boolean values true/false or the Integer not notification O Integer values 0, 1, 2 or 3 indicator NOTE 1: Parameters user, pass, sender, dest and message are mandatory while parameter not is optional. Here is an explanation on how you should use these parameters. Parameter user (mandatory) The client s assigned username. Parameter pass (mandatory) The client s assigned password. Parameter sender (mandatory) The originator of the message. Could be either numeric (maximum 20 characters) according to the international GSM format (only the format with the leading plus is allowed, i.e. +306972112233) or alphanumeric (maximum 11 characters). Forthnet Mobile Platform - groupsms http interface v1.0 4 / 9

Examples sender=54546 sender=forthnet sender=+306972112233 Parameter dest (mandatory) The dest parameter is used to specify the destination GSM number(s) of the SMS. A comma-separated list could be used to specify more than one destination number. The maximum allowed number of destinations is 100. Each destination number must not be longer than 20 characters and it must be written in international format with the leading plus sign (e.g. the greek GSM number 6972112233 must be written as +306972112233). The 00 international format (e.g. 00306972112233) is not allowed for this field. Example (one destination) dest=+306977666777 Example (multiple destinations) dest=+306977666777,+306977666778 Please note that according to the URL encoding, the plus character ( + ) corresponds to %2B. So if +306976667788 is to be used as message destination, it must be encoded as %2B306976667788. Parameter message This parameter sets the Short Message text. Its length must not exceed the limit of 160 characters. The allowed characters can be: 1. All uppercase or lowercase Latin letters 2. All uppercase or lowercase Greek letters 3. All decimal digits 4. Characters `~!@#$%^&*()_+-={} []\: ; <>?,./ Forthnet Mobile Platform expects the value of message parameter in UTF-8 encoding. Of course, since it s on URL it must be URL-escaped, i.e. special characters like the ones shown in the table above must be transformed according to URL-encoding. Forthnet Mobile Platform - groupsms http interface v1.0 5 / 9

Parameter not (optional) If this parameter is used with true value, then delivery notifications are requested for the corresponding SMS according to client s account configuration. The default value of parameter not is false. If a user that is not enabled to use the delivery notifications feature sets this parameter as true, the message will be sent but no delivery notification will be submitted. Server Response Upon the receipt of an SMS submission request, the server parses the parameters, performs the required checks and sends back a response. The information regarding the submission status is propagated in the first line of the response body. It includes a status code and a status description. The possible values of the (Code, Description) pair are presented in the table below. If the not parameter is enabled, then the response includes an additional line ( msgid= ) with a message id (whose type is String). This message id must be used to correlate delivery notifications with sent messages (see Delivery Notifications section bellow). If a message has multiple recipients, then a (comma-separated) list of message ids is returned. Each message id corresponds to an SMS sent to one of the recipients. The message ids correspond to the message destinations according to the order that the destinations were contained in the destination list of the request. So, if a valid message submission request with dest=+306977666777,+306977666778 generates a response with msgid=1234,1235 then 1234 is the msgid that corresponds to the SMS sent to the first recipient ( +306977666777 ) while 1235 corresponds to the SMS sent to +306977666778. A sample server response (including the message id information in the body) is the following: HTTP/1.1 200 OK\n Content-Type: text/plain; charset=iso-8859-1 Content-Length: 23 \n \n 001 OK\n msgid=1343,1344\n Forthnet Mobile Platform - groupsms http interface v1.0 6 / 9

The possible (Code, Description) values included in a server response are shown in the following table: Status Code Status Description 001 OK 101 Missing Parameter 102 Illegal Parameter 103 Invalid SMS Number Format 104 Internal Server Error 105 Unauthorized User 106 Unauthorised IP Address 107 Account Disabled 108 Max Message Length Exceeded 109 Invalid Message Text Delivery Notifications Upon the receipt of a delivery notification, Forthnet Mobile Platform will forward it to the specified client s server. Towards this, an HTTP GET request of the following format will be generated and forwarded to the client s server: GET /customer_page?type=2&msgid=id&status=stat&timestamp=t HTTP/1.1\n Host: CustomerServerHost:CustomerServerPort\n \n Example GET /not.php?type=2&msgid=1234&status=smscrcv&timestamp=2008-02- 08+23%3A56%3A32.333 HTTP/1.1\n Host: 123.123.11.3:80\n \n The client script must reply by using a string which begins with OK or NOK. Otherwise, the server will continue to send the message assuming that the initial attempt was unsuccessful. Forthnet Mobile Platform - groupsms http interface v1.0 7 / 9

Parameters An overview of the parameters contained in a delivery notification HTTP Request is shown in the following table. Please note that all parameters are mandatory and will always be included in the HTTP Request. Parameter Type Possible Values / Comment type Integer always set to 2 msgid String - status String delivery notifications: SMSCRCV SMSCRJT HSRCV HSRJT SMSCFWD SMSCEXP timestamp String yyyy-mm-dd HH:mm:ss.SSS Parameter type This parameter has always the value 2 when the HTTP Request contains a delivery notification. It is used in order the customer s server to able to distinguish notifications from MO SMSes that might be as well forwarded via HTTP GET requests (which have the parameter type set to 1, for more information see [3] in References) to the same page of the client s server. Parameter msgid The parameter msgid identifies the SMS sent by the client that the delivery notification refers to. It is the msgid value that customer collected on the MT submission. Parameter status The status field contains information regarding the status of the transmission of an SMS. As mentioned above, two types of notifications are supported, delivery notifications and billing ones. The latter are valid only in the case of MT billing SMSes. The delivery notification statuses supported are: SMSCRCV denotes that the SMS was received by the SMSC that serves the destination handset. SMSCRJT declares that the SMS was rejected by the SMSC, i.e. due to invalid destination number. HSRCV means that the SMS was successfully delivered to the recipient s handset. HSRJT refers to the case of unsuccessful delivery, for reason other than expiration of validity period. Forthnet Mobile Platform - groupsms http interface v1.0 8 / 9

SMSCFW deals the case where an SMS has to be forwarded from the operator that was chosen to submit it, to another operator to which the subscriber belongs. SMSCEXP denotes the case where the SMS validity period has expired. Parameter timestamp The exact timestamp when the notified event occurred in YYYY-MM-DD HH:MM:SS.SSS format. NOTE: All notification timestamps are in UTC. References [1] RFC 2616: Hypertext Transfer Protocol HTTP/1.1 [2] RFC 1738: Uniform Resource Locators (URL) [3] Forthnet Mobile Platform - Premium SMS http interface Forthnet Mobile Platform - groupsms http interface v1.0 9 / 9