KEMBAR78
How to integrate bulk sms api in ASP.NET
How to Integrate Bulk SMS API in ASP.NET Application?
Bulk SMS API allows application developer to integrate on their application and send the sms to all
the numbers at one shot without login to their sms panel. Anyone can integrate the Bulk SMS API
into their applications, software, website, etc.,
Through API we can able to check the Status of the sent messages, Delivery report, and group
delivery report. We can able to send the Unicode messaging also.
Once we integrate the Bulk SMS API in any of the application, the application trigger the HTTP API
call with all the parameters when on required. The required parameters like SMS Service URL, User
Name, Password, Mobile Number, Message, etc.. As soon as call the HTTP API, the api along with all
the parameters will be send to SMS Gateway Server and the SMS Gateway evaluate all the
parameters and automatically the message will deliver to the given number without login to the SMS
panel itself.
Sample Code for ASP.NET:
using System;
usingSystem.Collections;
usingSystem.Configuration;
usingSystem.Data;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Web.Security;
usingSystem.Web.UI;
usingSystem.Web.UI.HtmlControls;
usingSystem.Web.UI.WebControls;
usingSystem.Web.UI.WebControls.WebParts;
usingSystem.Xml.Linq;
using System.Net;
using System.IO;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
///Enter your details
string Username = "xxxxxxxxx";
string Password = "xxxxxxxxx";
string Message = "Test message from HTTP API";
stringMobileNo = "9xxxxxxxxx";
stringsenderid="XXXXX";
WebClient client = new WebClient();
stringbaseurl = "http://203.129.203.254/sms/user/urlsms.php?username=" + Username + "&pass="
+ Password + "&senderid=060000&message=" + Message + "&dest_mobileno=" + MobileNo +
"&response=Y";
Stream data = client.OpenRead(baseurl);
StreamReader reader = new StreamReader(data);
stringResponseID = reader.ReadToEnd();
data.Close();
reader.Close();
}
}
For more details Click on http://kapsystem.com/bulksms/index4.htm
For Free Trial Click on http://kapsystem.com/freedemo4.php
For further assistance mail to info@kapsystem.com or call on +91 97380 10000

How to integrate bulk sms api in ASP.NET

  • 1.
    How to IntegrateBulk SMS API in ASP.NET Application? Bulk SMS API allows application developer to integrate on their application and send the sms to all the numbers at one shot without login to their sms panel. Anyone can integrate the Bulk SMS API into their applications, software, website, etc., Through API we can able to check the Status of the sent messages, Delivery report, and group delivery report. We can able to send the Unicode messaging also. Once we integrate the Bulk SMS API in any of the application, the application trigger the HTTP API call with all the parameters when on required. The required parameters like SMS Service URL, User Name, Password, Mobile Number, Message, etc.. As soon as call the HTTP API, the api along with all the parameters will be send to SMS Gateway Server and the SMS Gateway evaluate all the parameters and automatically the message will deliver to the given number without login to the SMS panel itself. Sample Code for ASP.NET: using System; usingSystem.Collections; usingSystem.Configuration; usingSystem.Data; usingSystem.Linq; usingSystem.Web; usingSystem.Web.Security; usingSystem.Web.UI; usingSystem.Web.UI.HtmlControls;
  • 2.
    usingSystem.Web.UI.WebControls; usingSystem.Web.UI.WebControls.WebParts; usingSystem.Xml.Linq; using System.Net; using System.IO; publicpartial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ///Enter your details string Username = "xxxxxxxxx"; string Password = "xxxxxxxxx"; string Message = "Test message from HTTP API"; stringMobileNo = "9xxxxxxxxx"; stringsenderid="XXXXX"; WebClient client = new WebClient(); stringbaseurl = "http://203.129.203.254/sms/user/urlsms.php?username=" + Username + "&pass=" + Password + "&senderid=060000&message=" + Message + "&dest_mobileno=" + MobileNo + "&response=Y"; Stream data = client.OpenRead(baseurl); StreamReader reader = new StreamReader(data); stringResponseID = reader.ReadToEnd(); data.Close(); reader.Close(); } }
  • 3.
    For more detailsClick on http://kapsystem.com/bulksms/index4.htm For Free Trial Click on http://kapsystem.com/freedemo4.php For further assistance mail to info@kapsystem.com or call on +91 97380 10000