Академический Документы
Профессиональный Документы
Культура Документы
XML API 1
XML sms can be sent by posting the values to the url
http://<SMS_Service_URL>/api/xmlapi.php
POST METHOD
GET METHOD
http://<SMS_Service_URL>/api/xmlapi.php?data=<xmlapi>.....</xmlapi>
<xmlapi>
<auth>
<apikey>xxxxxx</apikey>
</auth>
<sendSMS>
<to>99XXXXXXXX,98XXXXXXXX</to>
<text>HELLO</text>
<msgid>CUSTOMID1,CUSTOMID2</msgid>
<dlrurl>http://test.dlrurl.com</dlrurl>
</sendSMS>
<schedule>DDMMYYhhmm</schedule>
<Unicode>N</unicode>
<response>Y</response>
</xmlapi>
XML API 2
Response
If all the values are correct and response if marked as Y browser will return as
<xmlresp>
<to>98xxxxxxxx </to>
<msgid>3215651</msgid>
<clientid>CUSTOMID1</clientid>
<status>SUBMITD</status>
<to>99xxxxxxxx</to>
<msgid>3215652</msgid>
<clientid>CUSTOMID2</clientid>
<status>SUBMITD</status>
</xmlresp>
If dlrurl and msgid is specified the status report will be sent to the user in HTTP API format.
XML API 3