Beruflich Dokumente
Kultur Dokumente
2014
All rights reserved. No parts of this work may be reproduced in any form or by any means graphic, electronic, or mechanical, including photocopying, recording, taping, or information
storage and retrieval systems - without the written permission of the publisher. Products that
are referred to in this document may be either trademarks and/or registered trademarks of
the respective owners. The publisher and the author make no claim to these trademarks.
While every precaution has been taken in the preparation of this document, the publisher
and the author assume no responsibility for errors or omissions, or for damages resulting
from the use of information contained in this document or from the use of programs and
source code that may accompany it. In no event shall the publisher and the author be liable
for any loss of profit or any other commercial damage caused or alleged to have been
caused directly or indirectly by this document.
2|P a ge
2014
Contents
1.0 Getting Started ........................................................................................................................ 4
1.1 Prior Checklist .......................................................................................................................... 4
1.2 Full URL for Message Sending .................................................................................................. 4
1.3 SMS Message Encoding ............................................................................................................ 4
1.4 Default Parameters .................................................................................................................. 5
2.0 Send a Single SMS Message ..................................................................................................... 5
2.1 SMS Message Parameters ........................................................................................................ 5
2.2 Success Response .................................................................................................................... 6
2.3 Error Response ........................................................................................................................ 6
2.4 Examples ................................................................................................................................. 7
3.0 Send Multiple Mobile Messages............................................................................................... 8
4.0 Send Group SMS ...................................................................................................................... 8
5.0 Sample Codes .......................................................................................................................... 8
5.1 Sample PHP Code for sending SMS Message ............................................................................ 8
5.2 Sample JAVA Code for Sending SMS message........................................................................... 9
6.0 Miscellaneous ........................................................................................................................ 10
6.1 Delivery Report ...................................................................................................................... 10
6.2 Change Password................................................................................................................... 11
6.3 Check Balance ........................................................................................................................ 11
6.4 Miss Call Report ..................................................................................................................... 11
6.5 Short code Report .................................................................................................................. 11
6.6 Opt in Users Report ............................................................................................................... 11
6.7 Delivery Summary Report ...................................................................................................... 12
3|P a ge
2014
Hello Samir,
Please note our new number
Regards
me@me.com
4|P a ge
2014
Encoded Text:
Hello%20Samir%2C%0APlease%20note%20our%20new%20number%0ARegards%0Ame%40me.com
Value
Account username provided by
SMS Gateway Center
Password
1.1
Details
Username should be
alphanumeric as assigned while
creating account.
The password must contain
same as you use to login to SMS
Gateway Center
Default Version is 1.1.
(optional)
Value
Individual, Bulk, Group
Language
English, Other
To
Mask
Message
Duplication
on/off (optional)
Details
Indicates the type of message,
single, comma separated or
group message
Optional to include language
type, default is English.
This needs to be a pure
numeric format without any
special or alpha characters
6 Character sender name which
is approved by SMS Gateway
Center
The content which needs to be
sent and can contain alphanumeric with special characters
Default is on. This removes the
duplicate mobile numbers to
avoid sending multiple times.
5|P a ge
2014
6|P a ge
2014
2.4 Examples
Find the below example with two sending SMS types. One is sending plain text message and other is
Unicode or other language SMS using API.
a) Plain English Text
http://www.smsgatewaycenter.com/library/send_sms_2.php?UserName=userxxxx&Password= passxxxx
&Type=Individual&To=9930447726&Mask=DEMO&Message=
Hello%20Neha%2C%0ACall%20me%20on%20my%20number.%20I%20am%20looking%20for%20SMS%20Gatewa
y%20in%20India.%0ARegards%0ASamir
Success Response: SUCCESS | Success (1) Fail (0) | Total Sms Cost (1)
Message Text on Recipients Mobile:
Hello Neha,
Call me on my number. I am looking for SMS Gateway in India.
Regards
Samir
b) Other Language
http://www.smsgatewaycenter.com/library/send_sms_2.php?UserName=userdemo&Password= userxxxx
&Type=Individual&Language=Other&To=9930447726&Mask=DEMO&Message=
%E0%A4%8F%E0%A4%B8%E0%A4%8F%E0%A4%AE%E0%A4%8F%E0%A4%B8%20%E0%A4%97%E0%A5%87%E0%
A4%9F%E0%A4%B5%E0%A5%87%20%E0%A4%B8%E0%A5%87%E0%A4%82%E0%A4%9F%E0%A4%B0
Success Response: SUCCESS | Success (1) Fail (0) | Total Sms Cost (1)
Message Text on Recipients Mobile:
7|P a ge
2014
8|P a ge
2014
9|P a ge
2014
6.0 Miscellaneous
6.1 Delivery Report
http://www.smsgatewaycenter.com/library/deliveryreport.php?UserName=username&Password=p
assword&DateFrom=2014-11-10&DateTo=2014-11-11
Date Format: yyyy-mm-dd
Delivery report is given with two parameters for status remarks.
1. Status
2. Cause
You will get status as SUCCESS OR FAIL and in Cause column, you will get all cause remarks whether
delivered or failed cause as listed below.
List of Possible values for status and cause:
Status
SUCCESS
FAIL
SUBMITTED
Cause
SUCCESS
ABSENT SUBSCRIBER
UNKNOWN SUBSCRIBER
BLOCKED SENDERNAME
SYSTEM FAILURE
CALL BARRED
SERVICE DOWN
OTHER
DND FAIL
DND TIMEOUT
OUTSIDE WORKING HOUR
TIMEOUT
Cause Explanation:
10 | P a g e
2014
You will get timestamp, recipients mobile number, circle, operator values.
You will get timestamp, recipients mobile number, circle, operator values.
11 | P a g e
2014
You will get timestamp, recipients mobile number, circle, operator values.
12 | P a g e