Home   l   SMS Solutions   l   Voice Call   l   Pricing   l   Reseller Zone   l   Contact us   l   Developer API   l   Short Codes   l Login







Demo
for Voice Call



 
 
 
HTTP API
Integrate your website, ERP, CRM, SAP, etc. to generate SMS alerts. 's SMS API is capable of Automatic SMS alerts through 1-way communi-cation feature.
Unique API Features:-
's API is one of the most secure and fastest ways to send SMS Alerts through your website, ERP, CRM, SAP, etc.
Using 's Developer's API, an Application / System can-
»
Push Single or Bulk SMS
»
Schedule SMS
»
Balance Check
The post either via GET or POST needs to be done on
http:// /pushsms.php?username=username&password=password& sender=ABC&mobile=9999999989, 9999999990,9999999991&message=Hello World
Send SMS(Comma Seperated):
http:// /pushsms.php?username=username&password=password& sender=ABC&mobile=9999999989, 9999999990,9999999991&message=Hello World
Schedule API (Comma Seperated):
http:// /scheduleapi.php?username=username&password=password& sender=ABC&mobile=9999999989, 9999999990,9999999991&message=Hello& sched_date=yyyy-mm-dd&sched_time=18:30 (eg: 2009-05-01)
Check Balance:
http:// /balanceapi.php?username=username&password=password
Sent Report:
http:// /sentreportapi.php?username=username& password=password&sentdate=yyyy-mm-dd (e.g. 2009-05-01)
Change Password:
http:// /changepasswordapi.php?username=username& oldpassword=password&newpassword=password
he variables to be used are:
username Your username on the website
password Your password on the website
sender Alphanumeric/Number SenderID from your approved list of SenderID's to be used for GSM Recipients
mobileno Mobile number of the recipients. for multiple recipients enter numbers seperated by comma.
message The text of the message.
Charged 1 credit for 160 characters per recipient.
You can just open this URL in your own application to send SMS from within your application.
 
You can just open this URL in your own application to send SMS from within your application.
 
If you need any support write to us @ "



XML API:

$xmlstring = '<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE MESSAGE SYSTEM "http://127.0.0.1/psms/dtd/messagev12.dtd" ><MESSAGE VER="1.2"><USER USERNAME="user name" PASSWORD="password" SENDER="sender id"/>';
 $msgcount = $i=1;
 $msg = "";
   
 if($msgcount>1)
 {
  $xmlstring .='</SMS>';
 }
 
 $sendmsg = str_replace("&","&amp;",'this is test');
 $sendmsg = str_replace("\n"," &#x0A;",$sendmsg);
 
     //unicode $code = 1
  //else
  //$code = 2;
 
 $code = 1;
 
 $smsid = time();
 
 $xmlstring .= '<SMS  UDH="0" CODING="'.$code.'" TEXT="'.$sendmsg.'" PROPERTY="0" ID="'.$smsid.'">';
 $msg = 'this is p message';
 $msgcount++;
  
 $i=1;
 
 $xmlstring .='<ADDRESS TO="mobile number" SEQ="1234" TAG="" />';
 $i++;
 
 $xmlstring .='</SMS>';
 $xmlstring .= '</MESSAGE>';
 
 
$url = 'http://shreesms.co.in/api/xmlapi.php';
$data = 'data='.urlencode($xmlstring).'&'.'action=send';
$objURL = curl_init($url);
curl_setopt($objURL, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($objURL,CURLOPT_POST,1);
curl_setopt($objURL, CURLOPT_POSTFIELDS,$data);
$retval = trim(curl_exec($objURL));
curl_close($objURL);
 

print_r($retval);
 
 
 

Please do go through the Terms & Conditions before using any of the services.
Poll


Demo
for Voice Call




 


  Home   l   SMS Solutions   l   Voice Call   l   Pricing   l   Reseller Zone   l   Contact us   l   Developer API   l   Short Codes   l

Copyright © 2009 SHREE SMS - All Rights Reserved Development By : www.shreesms.co.in