Warning: count(): Parameter must be an array or an object that implements Countable
Warning: count(): Parameter must be an array or an object that implements Countable
API - IndiaTelecom.info

API Document


Promotional SMS :

Single Message

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=abc&password=TokenKey&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0

Multiple Messages

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=abc&password=TokenKey&msisdn=919898xxxxxx,919898xxxxxx&sid=SenderId&msg=test%20message&fl=0



Note : Add one additional parameter gwid=2 in existing API as per example given below. 

Transactional SMS :

Single Message

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=abc&password=TokenKey&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&gwid=2

Multiple Messages

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=abc&password=TokenKey&msisdn=919898xxxxxx,919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&gwid=2


user: Your login username.
password: Your login password.
msisdn: Single mobile number or multiple mobile numbers separated by comma(10 digits or +91).
sid: Approved sender id(Only 6 characters).
msg: Your message content(Minimum 459 characters/3 messages).
fl: if flash message then 1 or else 0
gwid: 2 (its for Transactions route.)
Note: Only 100 mobile numbers are allowed.


Message Response :

Single Message OR Multiple Message


SUCCESS-919712xxxxxx-a8e701a5ebc448b8a4ba44add2af4887(i.e MessageId)


Multiple Message


SUCCESS-919712xxxxxx-a8e701a5ebc448b8a4ba44add2af4887,917600xxxxxx-955846b3b51644a8a5d63dfaf0395e59(comma separated MessageId)



Schedule SMS :

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=yourUserID&password=TokenKey&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&schedtime=2013/12/30 20:30:00 PM

DateTime formate will be
2014/10/06 20:30:00 PM
yyyy/mm/dd hh:mm:ss PM 

Group SMS :

http://login.indiatelecom.info/vendorsms/pushsms.aspx?user=yourUserID&password=TokenKey&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&groupid=###

groupid = your group Id 

Check Delivery API :

http://login.indiatelecom.info/vendorsms/checkdelivery.aspx?user=demo&password=TokenKey&messageid=messageid

Response : #DELIVRD 

Credit Blance API :

http://login.indiatelecom.info/vendorsms/CheckBalance.aspx?user=demo&password=TokenKey

Response : Success#Promotional:0|Transactoinal:95 

XML API

URL :

http://login.indiatelecom.info/Rest/Messaging.svc/mtsms?data= 

Error Message


ErrorCode

Error Message

000

Success (it means message is successfully submitted and you can check message parameter response to check message id and parts)

001

Account details cannot be blank

002

Username or password cannot be blank

003

SenderId cannot be blank

004

Message cannot be blank

005

Message properties cannot be blank

006

ServerError#Error message

007

Invalid username or password

008

Account inactive

009

Account lock

010

Unauthorized API access

011

Unauthorized IP address

012

Message length violation

013

Invalid mobile numbers

014

Account locked due to spam message contact support

015

Invalid SednerId

016

Transactional account not active

017

Invalid groupid

018

Cannot send multi message to group

019

Invalid schedule date

020

Message or mobile number cannot be blank

021

Insufficient credits

022

Invalid jobid

023

Parameter missing

024

Invalid template or template mismatch



Note: Only the above-defined validations are performed at the server side. All other validations for any parameter are required to be handled at the client side explicitly.

Notice: Trying to access array offset on value of type null