25.01.2015 Views

XML API Specification V 2.4.6 - Clickatell

XML API Specification V 2.4.6 - Clickatell

XML API Specification V 2.4.6 - Clickatell

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>XML</strong> <strong>API</strong> <strong>Specification</strong> V2.4.9<br />

1. Content<br />

1. Content ................................................................................................................................................. 2<br />

2. Change history ..................................................................................................................................... 3<br />

3. Overview ............................................................................................................................................... 3<br />

4. Introduction ........................................................................................................................................... 4<br />

5. Getting started ...................................................................................................................................... 4<br />

5. Basic <strong>XML</strong> structure ............................................................................................................................. 6<br />

6. Submitting the <strong>XML</strong> to the gateway...................................................................................................... 6<br />

7. Basic commands (tags)........................................................................................................................ 6<br />

7.1 Authentication and session ids ....................................................................................................... 6<br />

7.2 Ping ................................................................................................................................................. 7<br />

7.3 Send a message ............................................................................................................................. 7<br />

7.4 Query a message ........................................................................................................................... 8<br />

8. Message parameters (tags) ................................................................................................................. 9<br />

8.1 Table of parameters ....................................................................................................................... 9<br />

8.2 Message parameters in detail ...................................................................................................... 11<br />

9. Additional Commands (tags) .............................................................................................................. 19<br />

9.1 Delete/Stop message ................................................................................................................... 19<br />

9.2 Query balance .............................................................................................................................. 19<br />

9.3 Coverage query ............................................................................................................................ 20<br />

9.4 MMS Push .................................................................................................................................... 20<br />

9.5 WAP push service indication ........................................................................................................ 21<br />

9.6 Get message charge query .......................................................................................................... 22<br />

9.7 Token (voucher) pay ..................................................................................................................... 23<br />

10. Batch messaging .......................................................................................................................... 23<br />

10.1 Start batch ................................................................................................................................ 23<br />

10.2 Sending messages to existing batch........................................................................................ 24<br />

10.3 Quick send to batch.................................................................................................................. 25<br />

10.4 End batch ................................................................................................................................. 25<br />

11. 8-BIT messaging........................................................................................................................... 26<br />

12. Message examples ....................................................................................................................... 26<br />

12.1 Simple examples ...................................................................................................................... 26<br />

12.2 Batch SMS examples ............................................................................................................... 27<br />

12.3 8-bit SMS examples ................................................................................................................. 28<br />

12.4 Multi- Post MT .......................................................................................................................... 29<br />

13. Appendix A: Error codes ............................................................................................................... 31<br />

14. Appendix B: Message statuses .................................................................................................... 32<br />

15. Appendix C: <strong>XML</strong> DTD ................................................................................................................. 33<br />

16. Appendix D: <strong>XML</strong> references ........................................................................................................ 35<br />

16.1 Entity references ...................................................................................................................... 35<br />

16.2 Character references................................................................................................................ 35<br />

17. Terminology .................................................................................................................................. 36<br />

18. Contact details .............................................................................................................................. 36<br />

2<br />

www.clickatell.com

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

Saved successfully!

Ooh no, something went wrong!