SMS Service Provider Company in Delhi, Noida, Gurgaon, India

SMS Delhi, SMS Company in Delhi, SMS Company Delhi, SMS Company in India, SMS India, SMS Service India, Transactional SMS, Promotional SMS, SMS Company New Delhi, Noida, Gurgaon, India More »

SMS Service Provider Company in Delhi, Noida, Gurgaon, India

SMS Delhi, SMS Company in Delhi, SMS Company Delhi, SMS Company in India, SMS India, SMS Service India, Transactional SMS, Promotional SMS, SMS Company New Delhi, Noida, Gurgaon, India More »

SMS Service Provider Company in Delhi, Noida, Gurgaon, India

SMS Delhi, SMS Company in Delhi, SMS Company Delhi, SMS Company in India, SMS India, SMS Service India, Transactional SMS, Promotional SMS, SMS Company New Delhi, Noida, Gurgaon, India More »

SMS Service Provider Company in Delhi, Noida, Gurgaon, India

SMS Delhi, SMS Company in Delhi, SMS Company Delhi, SMS Company in India, SMS India, SMS Service India, Transactional SMS, Promotional SMS, SMS Company New Delhi, Noida, Gurgaon, India More »

SMS Service Provider Company in Delhi, Noida, Gurgaon, India

SMS Delhi, SMS Company in Delhi, SMS Company Delhi, SMS Company in India, SMS India, SMS Service India, Transactional SMS, Promotional SMS, SMS Company New Delhi, Noida, Gurgaon, India More »

 

Support

API Integration Documentation

SMS Firm
Email: support@itmonteur.net
www.sms.firm.in
TECHNICAL OVERVIEW

High Level Architecture of Two-Way SMS between Mobile Device and Application:

Fig: High level architecture of Two way SMS between Mobile Device & Application
Connection Type:
HTTP API
SMPP API
Web UI
XML API
Send SMS Basic API :

http://my.sms.firm.in/sendurlcomma.aspx?user=xxxxxxxx&pwd=xxxxxx&senderid=SMS Alert&mobileno=mobileno,mobileno&msgtext=Hello&priority=High&CountryCode=ALL
For sending multiple Single/Multiple SMS use the above API

Glossary of dynamic fields:
profileid = You will get a unique profile id once your account is logged in. It will be a 8 character numeric id (200XXXXX).
password = Password will be the part of credentials provided to you. You can change them innumerable times
ABC = This will be the approved Sender ID from the operator. User can have multiple approved Sender IDs & can use any of them. In case, the sender ID doesn’t match with the approved ones, SMS will go from the default ID
mobileno = The UAE mobile no. to which user wants to send SMS. They can be in any format (+9715XX, 9715XX, 05XX, 5XX). Only numbers are allowed. System will automatically reject less than 9 digit & nos. not starting with 5.
Hello = The SMS content. 160 English characters counted as 1 SMS. 70 Unicode characters counted as 1 SMS. If SMS length is more than 1 SMS than the SMS counts are in multiple of 153 in case of English & 63 in case of Unicode.

Check balance :

http://my.sms.firm.in/balance.asp?user=profileid&pwd=password

profileid = Use your 8 digit profile id & password to check your balance
SEND SMS WITH ADVANCE OPTIONS:

http://my.sms.firm.in/sendurlcomma.aspx?user=xxxxxxxx&pwd=xxxxxx&senderid=SMS Alert&mobileno=mobileno,mobileno&msgtext=Hello&priority=High&CountryCode=ALL&scheduledDate=mm/dd/year hh:min am

*NOTE * Parameter scheduledDate=mm/dd/year hh:min am has to be used only for sms scheduling using api.

Glossary of dynamic fields:
profileid = You will get a unique profile id once your account is logged in. It will be a 8 character numeric id (200XXXXX).
password = Password will be the part of credentials provided to you. You can change them innumerable times
ABC = This will be the approved Sender ID from the operator. User can have multiple approved Sender IDs & can use any of them. In case, the sender ID doesn’t match with the approved ones, SMS will go from the default ID
mobileno = The UAE mobile no. to which user wants to send SMS. They can be in any format (+9715XX, 9715XX, 05XX, 5XX). Only numbers are allowed. System will automatically reject less than 9 digit & nos. not starting with 5.
Hello = The SMS content. 160 English characters counted as 1 SMS. 70 Unicode characters counted as 1 SMS. If SMS length is more than 1 SMS than the SMS counts are in multiple of 153 in case of English & 63 in case of Unicode.
scheduledDate=This will be the date time on which message has to be sent.This version of api is only used for SMS scheduling.

SEND SMS WITH ADVANCE OPTIONS With UNICODE:

http://my.sms.firm.in/sendurlcomma.aspx?user=xxxxxxxx&pwd=xxxxxx&senderid=SMS Alert&mobileno=mobileno,mobileno&msgtext=Hello&priority=High&CountryCode=ALL&language=Unicode

profileid = You will get a unique profile id once your account is logged in. It will be a 8 character numeric id (200XXXXX).
password = Password will be the part of credentials provided to you. You can change them innumerable times
ABC = This will be the approved Sender ID from the operator. User can have multiple approved Sender IDs & can use any of them. In case, the sender ID doesn’t match with the approved ones, SMS will go from the default ID
mobileno = The UAE mobile no. to which user wants to send SMS. They can be in any format (+9715XX, 9715XX, 05XX, 5XX). Only numbers are allowed. System will automatically reject less than 9 digit & nos. not starting with 5.
Hello = The SMS content. 160 English characters counted as 1 SMS. 70 Unicode characters counted as 1 SMS. If SMS length is more than 1 SMS than the SMS counts are in multiple of 153 in case of English & 63 in case of Unicode.

*NOTE * For using parameter language=Unicode the sms content has to be sent as hexadecimal.

API #

http://my.sms.firm.in/sendurlcomma.aspx?user=profileid&pwd=password&senderid=ABC&mobileno=mobileno&msgtext=Hello&CountryCode=ALL&scheduledDate=mm/dd/year hh:min am

Sample Codes
Vb.net

sResponse = SMSSend(pno, message )
If right(sResponse,15) = “Send Successful” Then
‘write your code here
End If

Function SMSSend (strPh,strMsg)

Dim msgResponse
Dim strRequest
Dim strUrl
msgResponse = “”

strPh=right(strPh,10)
If not IsNumeric(strPh) Or len(strPh) <> 10 Then
msgResponse = “Enter valid Mobile Number.”
End If
If strMsg = “” Then
msgResponse = “Enter text message.”
End If

strUrl = “http://my.sms.firm.in/sendurlcomma.aspx?”
strRequest = strRequest+”user=profileid”
strRequest = strRequest+”&pwd=pass”
strRequest = strRequest+”&senderid=senderid”
strRequest = strRequest+”&mobileno=”+strPh
strRequest = strRequest+”&msgtext=”+Server.URLEncode(strMsg)
strRequest = strRequest+”&CountryCode=”ALL

strUrl = strUrl+strRequest

If msgResponse = “” Then
Dim oXML
Dim sPage
Err.Clear
On Error Resume Next
Set oXML = Server.CreateObject(“Msxml2.XMLHTTP”)
oXML.Open “get”, strUrl , false
oXML.Send
msgResponse = oXML.ResponseText
Set oXML = Nothing
End If

SMSSend = msgResponse

If Err.Number <> 0 Then
SMSSend = “Problem on sending sms : “& Err.Description
End If

End Function
ASP .NET (C#)

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;

using System.IO;
using System.Net;

public void SMSSend()
{
WebClient client = new WebClient();
string baseurl = “http://my.sms.firm.in/sendurlcomma.aspx?user=profileid&pwd=xxxx&senderid=ABC&mobileno=9911111111&msgtext=Hello&CountryCode=ALL&scheduledDate=mm/dd/year hh:min am”;
Stream data = client.OpenRead(baseurl);
StreamReader reader = new StreamReader(data);
string s = reader.ReadToEnd();
data.Close();
reader.Close();
}

JAVA #

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.Date;

public class SMSSend {
public static void main(String[] args)
{ try {
Date mydate = new Date(System.currentTimeMillis());

URL url = new URL(http://my.sms.firm.in/sendurlcomma.aspx?user=profileid&pwd=xxxx&senderid=ABC&mobileno=9911111111&msgtext=Hello&CountryCode=ALL&scheduledDate=mm/dd/year hh:min am);
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
conn.setRequestMethod(“GET”);
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setUseCaches(false);
conn.connect();
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
StringBuffer buffer = new StringBuffer();
while ((line = rd.readLine()) != null)
{
buffer.append(line).append(“\n”);
}
System.out.println(buffer.toString());
rd.close();
conn.disconnect();
}catch(Exception e)
{e
.printStackTrace();
}
}}
Note: Required javax.servlet.jar and jdom.jar to execute ( downloadable from internet,add to
classpath ).

PHP #

‘– Use URLEncode for parameter msgtext
?php
$url = “http://my.sms.firm.in/sendurlcomma.aspx?user=profileid&pwd=xxxx&senderid=ABC&mobileno=9911111111&msgtext=Hello&CountryCode=ALL&scheduledDate=mm/dd/year hh:min am “;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$curl_scraped_page = curl_exec($ch);
curl_close($ch);
echo $curl_scraped_page;
?