50KOBO RapidSMS Smart Messaging System

Similar documents
Technical documentation

Advanced HTTP API Documentation

HTTP/SOAP Application Program Interface (API) Version 1.0

This document is to provide help and illustrations to users who wish to deliver SMS using the Pinnacle SMS Gateway via the HTTP Protocol.

Spryng Making Business Mobile (0) Spryng Headquarters: Herengracht BW Amsterdam - The Netherlands

HTTP Application Programming Interface

MyMobileAPI. mymobileapi.com

Spryng Making Business Mobile Mobile Terminated Premium SMS Gateway. Contents:

Messaging API. API Specification Document Messaging API. Functionality: Send SMS Messages.

Advanced API. Contents: Description. Address Book Management. Bulk SMS Sending and Distribution Lists. Error Codes

Technical Specification Normal SMS gateway

Smart Card Authentication Client. Administrator's Guide

Web Service Integration

Platform Error Messages

Jobs Guide Identity Manager February 10, 2012

Web Meetings through VPN. Note: Conductor means person leading the meeting. Table of Contents. Instant Web Meetings with VPN (Conductor)...

Outlander User Guide. Installation

AMD Telecom SMS GATEWAY HTTP API INTERFACE. Technical Specifications

New World Construction FTP service User Guide

PORTLANDDIOCESE.ORG - How to Connect Table of Contents

Smart Card Authentication. Administrator's Guide

Using Voltage Secur

Managing Users and Identity Stores

Workflow Conductor Widgets

Tableau Server Trusted Authentication

PORTLANDDIOCESE.ORG - How to Connect Table of Contents

FTP API Specification V2.6

Contents 1 Overview 2 Steps to run an Excel Add-In Setup: 3 Add-Ins 4 LOGIN 5 SEND SMS 5.1 Send Text or Flash Sms 5.2 Select Range 5.

HireDesk API V1.0 Developer s Guide

Configuring Single Sign-on for WebVPN

Sendspace Wizard Desktop Tool Step-By-Step Guide

INFORMATION SYSTEMS SERVICE NETWORKS AND TELECOMMUNICATIONS SECTOR. User Guide for the RightFax Fax Service. Web Utility

Vodafone Bulk Text. User Guide. Copyright Notice. Copyright Phonovation Ltd

Safeguard Ecommerce Integration / API

Yale Secure File Transfer User Guide

emobile Bulk Text User Guide Copyright Notice Copyright Phonovation Ltd

Tableau Server Trusted Authentication

Sending an Message from a Process

BulkSMS Text Messenger Product Manual

Setting up and Automating a MS Dynamics AX Job in JAMS

Using Windows Task Scheduler instead of the Backup Express Scheduler

Bulk SMS Sending. Contents: Preparing your Distribution List. Sending a Message to your Distribution List. Sending Bulk Messages Using Desktop SMS

SerialMailer Manual. For SerialMailer 7.2. Copyright Falko Axmann. All rights reserved.

ONBASE OUTLOOK CLIENT GUIDE for 2010 and 2013

Government of Saskatchewan Executive Council. Oracle Sourcing isupplier User Guide

Issue 2EN. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Real-Time Connectivity Specifications For. 270/271 and 276/277 Inquiry Transactions. United Concordia Dental (UCD)

SYSPRO App Store: Registration Guide

InTime. Contractor Guides

E-payment. Service description

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

I. Simplifying Payment Processing. II. Authorizing Your Transactions Correctly page 6

Quick Start Guide Now SMS/MMS Gateway

How to Copy A SQL Database SQL Server Express (Making a History Company)

Migration Manual (For Outlook 2010)

BMC Track-It! Web. Web Services API Guide. Version 11.3

Interactive Reporting er Manual

User Documents GIFT CARD

Business On Line File Gateway Guide for Customers

NETMESSENGER API EXAMPLES

Checking SQL Server or MSDE Version and Service Pack Level

USM Web Content Management System

Computer Networking LAB 2 HTTP

Diafaan SMS Server 3.0 Manual Diafaan communication software

SNMP Web Management. User s Manual For SNMP Web Card/Box

F-Secure Mobile Security for Business. Getting Started Guide

Configuring Reports and Alarm Information

Domains Help Documentation This document was auto-created from web content and is subject to change at any time. Copyright (c) 2016 SmarterTools Inc.

About Data File Exchange

SpectraPro. SLQ Server databases

Transferring Your Internet Services

Setting Up a Dreamweaver Site Definition for OIT s Web Hosting Server

Migration Manual (For Outlook Express 6)

Managing Qualys Scanners

Quest Soft Token for Windows Phone User Guide

SAM Context-Based Authentication Using Juniper SA Integration Guide

Deutsche Bank db easynet. Secure method of use of the db easynet e-banking system

Using CertAgent to Obtain Domain Controller and Smart Card Logon Certificates for Active Directory Authentication

Content Filtering Client Policy & Reporting Administrator s Guide

USHA. Notification Setting. User Manual

Excel To Component Interface Utility

Manual. Netumo NETUMO HELP MANUAL Copyright Netumo 2014 All Rights Reserved

Nokia Internet Modem User Guide

NHS Mail Basic Training Guide

Web Forms for Marketers 2.3 for Sitecore CMS 6.5 and

Bitrix Site Manager 4.0. Quick Start Guide to Newsletters and Subscriptions

T his feature is add-on service available to Enterprise accounts.

Basic Exchange Setup Guide

Frequently Asked Questions for New Electric Mail Administrators 1 Domain Setup/Administration

PROCESS TRANSACTION API

MiGS Merchant Administration Guide. July 2013 Software version: MR 29

Active Directory User Management System (ADUMS)

ADSL Router Quick Installation Guide Revised, edited and illustrated by Neo

MXSAVE XMLRPC Web Service Guide. Last Revision: 6/14/2012

WEB TERMINAL AND RECURRING BILLING

Brocade Certified Layer 4-7 Professional Version: Demo. Page <<1/8>>

Office of History. Using Code ZH Document Management System

Transcription:

50KOBO RapidSMS Smart Messaging System HTTP Application Programming Interface Date of revision Author Description 24 th Sept, 2009 Segun Fodeke Added: Get credit balance 21 st Aug, 2010 Segun Fodeke Added delivery report query by message id 21 st Nov, 2012 Segun Fodeke Edited XML parameter error for Non-DR SMS

0. Introduction 50kobo RapidSMS system offers various methods to send SMS messages. This document contains specifications for the following methods: Send messages using HTTP XML POST Send messages using HTTP GET 1. HTTP XML POST The URL used to post XML formatted data is: http://www.50kobo.com/tools/xml/sms.php Duplicate numbers in any single post request will be filtered in the 50kobo system so that the message is delivered only once to each recipient. The options for posting XML data to this URL vary depending on socket options for the 1.1. XML Format The XML string must be formatted as valid XML. There are two ways of sending XML request strings: Without unique delivery report With unique delivery report C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 2

1.1.1. XML Without Unique delivery report <SMS> <authentification> <username></username> <password></password> </authentification> <message> <sender></sender> <msgtext></msgtext> <flash></flash> <sendtime></sendtime> <listname></listname> </message> <recipients> <gsm></gsm> <gsm></gsm> <gsm></gsm> </recipients> </SMS> Fields in blue are optional as a default value can be assumed. Messages that are sent using the without unique delivery report method will not be able to receive XML delivery reports for individual numbers in a batch. We will explain how to retrieve delivery reports later on in this document. The listname field must contain the name of a list of numbers that has previously been uploaded to your account. When using the listname field, there will be no individual delivery reports for numbers in the pre-uploaded list, as they cannot have a message id. C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 3

1.1.2. XML With Unique delivery report <SMS> <authentification> <username></username> <password></password> </authentification> <message> <sender></sender> <msgtext></msgtext> <flash></flash> <sendtime></sendtime> <listname></listname> </message> <recipients> <gsm messageid= usergenid1 ></gsm> <gsm messageid= usergenid2 ></gsm> <gsm messageid= usergenid3 ></gsm> </recipients> </SMS> Fields in blue are optional as a default value can be assumed. Sending messages using the with Unique Delivery report format makes it possible for you to know the delivery status of a message sent to any number without having to login to your account on our server. You will need to generate a unique id for each number in every batch of SMS you send. C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 4

1.2. XML Parameters Specification Authentication username password Client s username used for login on 50kobo System Client s password used for login on 50kobo System Message sender Dynamic sender name. Maximum 11 characters for alphanumeric sender ID and 14 for numeric. msgtext The content of the text message. flash Either 1 or 2. 1 nor ma l S MS 2 f lash SMS sendtime Optiona lly spec ify the des ired delivery date/time For mat: yyyy-mm-dd hh:mm listname Optiona l - specify the name of a contact list saved in 50kobo system. Leave it blank so no list will be used. Enter 0 and all contacts saved your 50kobo account will be included as part of the recipie nts. Recipients gsm Internationally formatted recipie nt wit hout lea ding 0 or +, For example: 2347033001122 gsm messageid= usergenid3 Unique delivery report; client generates a unique messageid for each recipient, that will be used to collect delivery reports. C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 5

1.3. Return XML Response After making a POST XML request from the client, an XML response will be returned immediately. The return XML string will be in the format: <RESPONSE> <status>status_code</status> </RESPONSE> This is to tell if your XML data got to our server successfully or not. Status codes: Status Code Description INVALID XML -1 Incorrect / badly formed XML data AUTH FAILED -2 Incorrect username and/or password INSUFFICIENT CREDIT -3 Not enough credit units in user account INVALID SENDER -4 Invalid sender name INVALID RECIPIENTS -5 No valid recipient EMPTY MESSAGE -6 Invalid message length/no message content UNKNOWN ERROR -10 Unknown/Unspecified error SEND OK 100 Send successful C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 6

2. HTTP GET Used for non-xml requests, that involves issuing a get request to the following URL using these parameters: http://www.50kobo.com/tools/geturl/sms.php?username=abc&password=xyz&sender=you&message=your message&flash=0&sendtime=2009-10-18%2006:30&listname=friends&recipients=2348019900323 The parameters are similar to those of the xml post with the only requirement being the need to encode the URL as a valid URL, as well as ensure that html entities e.g. & are correctly encoded as well. 2.1. GET Parameters Specification: username password Client s username used for login on 50kobo System Client s password used for login on 50kobo System sender message Dynamic sender name. Maximum 11 characters for alphanumeric sender ID and 14 for numeric. The content of the text message. flash Either 1 or 2. 1 normal SMS 2 flash SMS that will be displayed on recipient s screen directly sendtime Optionally specify the desired delivery date/time Format: yyyy-mm-dd hh:mm e.g. 2009-12-31 23:59 listname Optional - specify the name of a contact list saved on 50kobo system. recipients Internationally formatted recipient without leading 0 or +, For example: 2347033001122 C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 7

2.2. Additional HTTP GET Commands Use the following URL to obtain your account balance at any time. http://www.50kobo.com/tools/command.php?username=your_username& password=your_p assword Parameters username The username (email) you use to login to your account password Your account password Status Code Description AUTH_FAILED 1 Incorrect username and/or password ACCOUNT_SUSPENDED 2 The account has been suspended BA D_REQUEST 3 Invalid request data UNKNOWN_ERROR 4 Rarely used unknown error 2.3. Return Status Codes After making a GET request, a status code will be returned immediately. This is to tell if your request was received by our server successfully. Status codes: Status Code Description INVALID URL -1 Incorrect / badly formed XML data AUTH FAILED -2 Incorrect username and/or password INSUFFICIENT CREDIT -3 Not enough credit units in user account INVALID SENDER -4 Invalid sender name INVALID RECIPIENTS -5 No valid recipient EMPTY MESSAGE -6 Invalid message length/no message content UNKNOWN ERROR -10 Unknown/Unspecified error SEND OK 100 Send successful C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 8

3. COLLECTING DELIVERY REPORTS Delivery reports will be available after sending messages until collected. In order to get delivery reports, you need to issue a get request to the following URL: For messages sent using HTTP GET use: http://www.50kobo.com/tools/getdr.php?username=abc&password=xyz For messages sent using XML POST use: http://www.50kobo.com/tools/getdr.php?username=abc&password=xyz&msgids=na78121,na78 122,7812... 3.1. Delivery Report Parameters: username password msgids Client s username used for login on the 50kobo System Client s password used for login on the 50kobo System You can specify up to 100 message ids which you must have included if sending SMS with the XML Post method. Each message id must be separated only by a comma (,) 3.2. Return XML The returned XML for this request will be in the following format: <DELIVERYREPORT> <message id= clientgenid1 >status_code</message> </DELIVERYREPORT> Where clientgenid1 is the message id that was included when the message was sent, and status_code is the delivery status of the message. C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 9

Status codes: Status code Description -1 Invalid username and/or password SENT Message sent over a route that does not support delivery report DELIVERED Message sent and delivered to the recipient successfully NOT_DELIVERED Message was not delivered INSUFFICIENT_CREDIT Your account credit is not sufficient to send the message RESPONSE_UNAVAILABLE Not yet received a response from the recipient C opyright DULAN MEDIA 50KOBO RAPIDSMS Page 10