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.2Return statusWhen receiving a HTTP command, <strong>the</strong> HTTP <strong>SMS</strong> gateway will perform <strong>the</strong> followingoperations:• parsing attributes and syntax checking.• user au<strong>the</strong>ntication, access rights check.• user account credit check when send operation for a prepaid account.• execute <strong>the</strong> required operation (send <strong>SMS</strong>, check <strong>SMS</strong> status, send Wap Pushmessage, and so on).The request result status will be immediately returned by <strong>the</strong> gateway in HTML format.The application having performed <strong>the</strong> POST or GET operation must check <strong>the</strong> return status asfollow:• If <strong>the</strong> gateway times out, no response is returned to <strong>the</strong> client, no <strong>SMS</strong> message will besent to <strong>the</strong> mobile, and <strong>the</strong> customer account will not be charged.• When <strong>the</strong> request has been processed (even if an error has occured), <strong>the</strong> gateway willreturn <strong>the</strong> '200 OK' HTTP code, <strong>the</strong>n a HTML page with XML tags, encoded asfollow:ValueMonaco Telematique MCTEL 23 July 2004

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

Saved successfully!

Ooh no, something went wrong!