11.07.2015 Views

Sending SMS using the Application Programming Interface - MCTel

Sending SMS using the Application Programming Interface - MCTel

Sending SMS using the Application Programming Interface - MCTel

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VIDEO<strong>SMS</strong> HTTP/HTML <strong>Interface</strong> Manual v. 1.2o Content-type : application/x-www-form-urlencodedo Accept-charset : utf-8o Content-length : nnn (where nnn is <strong>the</strong> length of <strong>the</strong> body).• Do not close <strong>the</strong> connection after <strong>the</strong> request in order to be able to receive <strong>the</strong> replyfrom <strong>the</strong> gateway.Request format and attributesThe HTTP requests sent to <strong>the</strong> URI must contains mandatory parameters, optional parametersmay be added. The required parameters may vary according to <strong>the</strong> type of HTTP request(<strong>SMS</strong> send, <strong>SMS</strong> check status, <strong>SMS</strong> Wap Push, and so on.). The attributes values may notcontain leading spaces, linefeed characters or quotation marks.Common parameters for all requestsAttribute name Meaning ExampleMandatory Attributes‘Command’ Specify <strong>the</strong> type of command to be performed : sendsms• ‘sendsms': sending a <strong>SMS</strong> or o<strong>the</strong>rmessage types (fax, telex, email...).• ‘readstatus’: check <strong>the</strong> status of apreviously transmitted message.• 'wappush': send a Wap Push commandby <strong>SMS</strong>‘UserId’‘UserPwd’‘Version’NB : according to <strong>the</strong> command specified, seebelow <strong>the</strong> mandatory and optional attributesto be specified.Registered username for au<strong>the</strong>ntication.If you have created yourself your own accounton www.smsfax.com or <strong>using</strong> <strong>the</strong>Video<strong>SMS</strong>/PC Desktop sender program, specifyyour username. In this case, all <strong>SMS</strong> sent from<strong>using</strong> <strong>the</strong> HTTP/HTML interface will becharged to your www.smsfax.com account.Username is not case sensitive.Password securing <strong>the</strong> username, forau<strong>the</strong>ntication.If you have created yourself your own accounton www.smsfax.com or <strong>using</strong> <strong>the</strong>Video<strong>SMS</strong>/PC Destop sender program, specifyyour password that has been transmitted by <strong>the</strong>gateway to your mobile phone.Password are case sensitive.Protocol version number. The current protocolversion is 1.0Optional AttributesmctelX7u2Hzq7w11.0Monaco Telematique MCTEL 19 July 2004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!