HTTP/SOAP Application Program Interface (API) Version 1.0



Similar documents
ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

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

Advanced HTTP API Documentation

Technical documentation

HTTP API Specification Version 2.1

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

THE CHALLENGE OF ADMINISTERING WEBSITES OR APPLICATIONS THAT REQUIRE 24/7 ACCESSIBILITY

AMD Telecom SMS GATEWAY HTTP API INTERFACE. Technical Specifications

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

Documentation for the SMSWay API v1.5. API for SMSWay Gateway. Documentation for the SMSWay API v

Technical Specification Normal SMS gateway

Clickatell Communicator2 Help Gui

MyMobileAPI. mymobileapi.com

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

SMS for REST Professional

FTP API Specification V2.6

Jobs Guide Identity Manager February 10, 2012

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

Increased operational efficiency by providing customers the ability to: Use staff resources more efficiently by reducing troubleshooting time.

AS DNB banka. DNB Link specification (B2B functional description)

QIWI Wallet Pull Payments API

redcoal SMS for MS Outlook and Lotus Notes

HTTP Application Programming Interface

Safeguard Ecommerce Integration / API

send and receive MMS

HireDesk API V1.0 Developer s Guide

GTX Mobile Messaging SMS Gateway Interface Simple HTTP API Manual

Managing Qualys Scanners

redcoal Mobile Internet Developer API (MIDA) for SOAP-XML Web Services

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

(Document Version 1.4) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)

Setting Up Message Notifications in Cisco Unity 8.x

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

Send and Receive SMS using ODBC Method

2sms SMS API Overview

USER DOCUMENTATION FOR APP VERSION 4.0

Information on SMS interface (As at March 31 th 2009) Delivery is possible to both mobile subscribers worldwide and the German fixed network

SMS (txt) appointment reminders

Clickatell two-way technical guide v2.0

Internet Payment Gateway Response Codes

SMSMAIL 3.0. Implementation Guide SMSMAIL 3.0 Version 2.0

WEB TERMINAL AND RECURRING BILLING

KPN SMS mail. Send SMS as fast as !

Now SMS/MMS Android Modem Quick Start Guide

Fleet Connectivity Extension

emobile Bulk Text User Guide Copyright Notice Copyright Phonovation Ltd

Single Sign-On Implementation Guide

INTRODUCTION MERCHANT INTEGRATION. Ha noi, 10/7/2012

BulkSMS API Document. Contents. 1 P a g e. API Version: 5.9 Document Version: 2.0 Last Updated Date: 31st July 2013

We deliver straight to your customers' handsets! View our coverage table for a complete list of our U.S. mobile networks.

Server and Direct Shared Protocols

Diafaan SMS Server 3.0 Manual Diafaan communication software

Migration Manual (For Outlook Express 6)

Fax via HTTP (POST) Traitel Telecommunications Pty Ltd 2012 Telephone: (61) (2) Page 1

Managing Users and Identity Stores

Release Notes. DocuSign Spring 15 Release Notes. Contents

Logging into the control panel

Protected Trust Directory Sync Guide

Helix Practice Manager

Table of Contents. Welcome Login Password Assistance Self Registration Secure Mail Compose Drafts...

Adjust Webmail Spam Settings

Creating Accounts Domain Management... 6

TriCore Secure Web Gateway User Guide 1

FedEx Billing Online PDF Help Guide Credit Card Customers

Yale Secure File Transfer User Guide

Last Modified June 2008

Revised: 3-Jun-08. Stratos C- User Guide

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

FedEx Billing Online PDF Help Guide Invoiced Customers

Sendspace Wizard Desktop Tool Step-By-Step Guide

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

SVEA HOSTED SERVICE SPECIFICATION V1.13

Contents. 1 VPN Remote Access Service

Magensa Services. Administrative Account Services API Documentation for Informational Purposes Only. September Manual Part Number:

IoT-Ticket.com. Your Ticket to the Internet of Things and beyond. IoT API

Bitcoin Payment Gateway API

Merchant Implementation Guide

Vodafone PC SMS (Software version 4.7.1) User Manual

Technical Specification Premium SMS gateway

Migration Manual (For Outlook 2010)

Bank and SecurePay Response Codes

Signing up for Corporation Tax Online - a beginner's guide

Alpha e-pay v2 Merchant User Manual (v1.9)

Using Avaya Aura Messaging

SRFax Fax API Web Services Documentation

Quick Start Guide Now SMS/MMS Gateway

ACCREDITATION COUNCIL FOR PHARMACY EDUCATION. CPE Monitor. Technical Specifications

Avaya one-x Mobile User Guide for iphone

HOST EUROPE CLOUD STORAGE REST API DEVELOPER REFERENCE

wce Outlook Contact Manager Documentation

GRS Advantage Website User Reference Guide

Using Device Discovery

Secure XML API Integration Guide - Periodic and Triggered add in

API Guide v /11/2013

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

Process Transaction API

PaperCut Payment Gateway Module PayPal Website Payments Standard Quick Start Guide

Listserv Mailing List Owner Quick Start Guide

Atomic Hunter Atomic Hunter URL Search Hunt Advanced... Keyword Search Common Settings

PROCESS TRANSACTION API

Transcription:

HTTP/SOAP Application Program Interface (API) Version 1.0 September 2010

INTRODUCTION: ChillNet introduces a new HTTP SMS API to address the requirements of the SMS software developer community. This HTTP SOAP SMS API provides more features, flexibility and simplicity. It was designed to help developers be more productive and to be able to add SMS functionality to any project efficiently. You can now leverage the power of the ChillNet backend for sending bulk SMS messages through a simple HTTP/SOAP interface. The ChillNet web service allows you to send messages easily and cost effectively over the Internet. To send an SMS message you can submit it using a HTTP request. ChillNet's SOAP API uses the XML-based Web Services Description Language to provide a model for describing Web services. CONNECTION: The ChillNet Web Service Description can be located at the following URL: http://sms.chillnethosting.co.za/index.php?r=sms/webservice ACCOUNT CREATION: We manually capture the API details into our system. Where the following information is captured: Company Name Company Registration Number Company Country Contact person name Contact person email address Contact person mobile cellphone number Numeric or alphanumeric mobile source address for the account Upon review a test account with 5 free message credits will be created and the

relevant parties notified with the connection details. Please note this service is currently for Mobile Terminating SMS messages only. PAYMENT: SMS credits are purchased on a prepaid basis. Once you've requested more credits to be allocated to your account, our accounting department will send you an invoice. After you've emailed / faxed the proof of payment to accounts@chillnet.co.za we will allocate the number of credits purchased to your profile. IMPORTANT: Message credits NEVER expire and a minimum purchase of 100 credits is required. WEB SERVICES AVAILABLE METHODS: Example code and a fully working PHP class can be downloaded from the following URL: http://sms.chillnethosting.co.za/downloads/chillnetbulksms.zip The following methods are available through the SOAP web service API: 1. sendsms Send a single SMS message through the ChillNet SMS Gateway 2. sendmultiplesms Send the same SMS message to multiple recipients through the ChillNet SMS Gateway 3. getcredits Get your latest account balance / available credits. 4. GetDeliveryStatus Get the delivery status report of any message sent through the ChillNet SMS Gateway. 1. SendSms: Request parameters: Parameter Description Possible values username Specifies the username. The username and chillnet

password identifier mobilenumber message Specifies the password. The username and Specifies the sender identifier. This information will be displayed on the mobile phone, that receives the message. This is the sender address. This can be a telephone number, a short code or an alphanumeric sender address. The telephone number must be formatted in local number format (e.g. 0821234567) or in international number format (e.g. 27821234567). If you use an alphanumeric sender address (e.g. ChillNet), the characters must be encoded in UTF8 and the value must be urlencoded. Max Length of 18 if Only Numeric and Max Length of 11 if Alpha numeric. (Additional restrictions on this field may be enforced by the SMSC) Specifies the recipient phone number. The message will be sent to this telephone number. The telephone number must be formatted in local number format (e.g. 0821234567) or in international number format (e.g. 27821234567). Specifies the text of the SMS message. The value must be encoded in UTF8 and must be urlencoded. test123x 33979 27821234567 Hello+World Response: Single SMS API Reply Format: <Error_Code> <message_id>

Error Codes: Description: 1701 Success, Message Submitted Successfully, In this case you will receive the response 1701 <MESSAGE ID>, The message Id can then be used later to map the delivery reports to this message 1702 Invalid URL Error, This means that one of the parameters was not provided or left blank 1703 Invalid value in username or password field 1704 Invalid value in "type" field 1705 Invalid Message 1706 Invalid Destination / mobilenumber 1707 Invalid Source (Sender) Identifier 1708 User validation failed 1710 Internal Error 1025 Insufficient Credit Exceptional Situations: A request containing multiple destinations will be aborted immediately if any error other than Invalid Destination is found, in case an invalid destination is found we just skip that destination and proceed to the next destination. If while servicing the request the SMPP Server goes down, the HTTP API will retry a fixed number(with a gap of 10 milliseconds between every 2 retries) of times to reconnect to the SMPP server and submit the message. In case the SMPP server does not come up before the fixed number of attempts are exhausted, the batch will be aborted at that destination and a message will be returned in following format:- <Error_Code <message_id> The third and final situation which can arise is the the credits can get exhausted in the middle of a request being serviced. In case such a situation occurs we will be aborting the batch on the destination at which we got the Insufficient_Credit error, and a response in the following format will be returned to the client:- <Error_Code> <message_id> 1025 : Indicates Insufficient Credit

Example Code (PHP) <?php $smsclient = new SoapClient('http://sms.chillnethosting.co.za/index.php?r=sms/webservice'); $result = $smsclient->sendsms('username','password','33979','27821234567','test Message'); print_r($result);?> 2. sendmultiplesms: Request parameters: Parameter Description Possible values username password identifier Specifies the username. The username and Specifies the password. The username and Specifies the sender identifier. This information will be displayed on the mobile phone, that receives the message. This is the sender address. This can be a telephone number, a short code or an alphanumeric sender address. The telephone number must be formatted in local number format (e.g. 0821234567) or in international number format (e.g. 27821234567). If you use an alphanumeric sender address (e.g. ChillNet), the characters must be encoded in UTF8 and the value must be urlencoded. Max Length of 18 if Only Numeric and Max Length of 11 if Alpha numeric. (Additional restrictions on this field may be chillnet test123x 33979

mobilenumber message enforced by the SMSC) Specifies the recipient phone number(s). If more than one separate them by using a comma ','. (e.g. 27821234567,27831234567,27712345678). Specifies the text of the SMS message. The value must be encoded in UTF8 and must be urlencoded. 27821234567,2783123456 7,277123456 78 Hello+World Response: Array containing the following values: Array Element: statuscode statusmessage successcount successresponse failedcount failedresponse Description: Status Codes as explained earlier in the singlesms method. They may include 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1710 or 1025. Status Message. Possible Value: Messages successfully queued for sending Integer value representing the number of messages that were successfully sent or queued for later sending. Comma separated string containing all the mobile numbers that the SMS was successfully sent to. Integer value representing the number of messages that failed for some or other reason. Might be due to incorrect format, invalid mobile number ect. Comma separated string containing all the mobile numbers that the SMS could not be sent to. Example Code (PHP) <?php $smsclient = new SoapClient('http://sms.chillnethosting.co.za/index.php?r=sms/webservice'); $result = $smsclient- >sendmultiplesms('username','password','33979','27821234567,27831234567,27712345678','test Message'); print_r($result);?>

3. getcredits: Request parameters: Parameter Description Possible values username password Specifies the username. The username and Specifies the password. The username and chillnet test123x Response: Integer value containing the number of available credits, or a string containing an error code and message. <Error_Code>:<Error_Description> 1703:No Username And/Or Password Supplied Example Code (PHP) <?php $smsclient = new SoapClient('http://sms.chillnethosting.co.za/index.php?r=sms/webservice'); $result = $smsclient->getcredits('username','password'); print_r($result);?> 4. getdeliverystatus: Request parameters: Parameter Description Possible values

username password messageid Specifies the username. The username and Specifies the password. The username and The Message ID that was returned by the gateway when a message was successfully sent. chillnet test123x ece6d7fae5eb-102db5e2-00215e551df 4 Response: Array containing the following values: Array Element: statuscode statusmessage Description: Error Codes: 1701:Success 1702:Invalid value in username or password field 1703:Invalid value in messageid 1704:Invalid value in messageid, unable to find in DB Status Message. Possible Values: DELIVRD, EXPIRED, REJECTD, UNDELIV, SENT, DELETED or QUEUED Delivery Status Explanations: Status DELIVRD EXPIRED REJECTD UNDELIV Explination The message was delivered successfully The SMSC was unable to deliver the message in a specified amount of time. For instance when the phone was turned off. The message was rejected. The provider could have blocked phonenumbers in this range. This kind of status is returned by the mobile gateway if a mobile

Status SENT DELETED Explination number is in roaming, where there is low or no network coverage, where a mobile phone is switch off at the time, where the mobile phone's battery might be low at the time, where their phone's inbox might be full or if a given mobile was unreachable. Message sent to mobile gateway for delivery The message was deleted. Example Code (PHP) <?php $smsclient = new SoapClient('http://sms.chillnethosting.co.za/index.php?r=sms/webservice'); $result = $smsclient->getdeliverystatus('username','password','ece6d7fa-e5eb-102d-b5e2-00215e551df4'); print_r($result);?> CONTACTS: If you have any questions, suggestions or queries please do not hesitate to contact us: Email: sms@chillnet.co.za.