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.2‘TestMode’ Test mode :2• 0 (default): inactive, normal <strong>SMS</strong>processing• 1 : test mode activated: au<strong>the</strong>nticationand valid syntax parsing is checked by<strong>the</strong> gateway, but <strong>the</strong> message is nottransmitted to <strong>the</strong> mobile and <strong>the</strong> useraccount is not charged.• 2 : same as mode 1, but <strong>the</strong> receivedparameters are displayed in <strong>the</strong> returnpage in order to allow easier applicationdebugging.‘CompanyId’ Master account name of <strong>the</strong> company whom <strong>the</strong> ACOMPANYuser account is associated from. By default,when this parameter is not specified, <strong>the</strong>username specified by ‘UserId’ is considered asdepending of « MCTELWEB<strong>SMS</strong> » masteraccount.If no CompanyId has been specified to you, donot specify this parameter.‘CompanyPwd’ Company password. X7u2Hzq7w1Additional parameters when « command=sendsms »Attribute name Meaning ExampleMandatory Attributes‘DestNum’Phone number (MSISDN) of <strong>the</strong> recipient, at %2B33607080910international format, prefixed by a + (encoded%2B on HTTP)‘MsgContent’ Content of <strong>the</strong> message to be transmitted to <strong>the</strong> ‘hello world’recipient :• Text message (by default), encodedaccording selected character set (ASCIIor ISO 8859-1 as default) that will beautomatically converted to <strong>SMS</strong> format.• Message with binary payloadOptional Attributes‘ContentType’ <strong>SMS</strong> content type :TEXT• TEXT : default• HEXA : binary data hex-encodedNB : to activate HEX mode on your account,please contact MCTEL‘Encoding’ Encoding character set :ISO8859-1• ISO8859-1 : default, will beautomatically converted to GSMcharacter set according to Annex 2.• O<strong>the</strong>r supported character set (ex:Unicode)Monaco Telematique MCTEL 20 July 2004

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

Saved successfully!

Ooh no, something went wrong!