Multitech MultiModem iSMS SF100-G Administrator's Manual page 84

Intelligent sms server
Hide thumbs Also See for MultiModem iSMS SF100-G:
Table of Contents

Advertisement

Appendix A – Application Programming Interface (API)
Sending a Broadcast Trigger Message
You can use the API to send a broadcast trigger message to the MultiModem iSMS.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&
enc=0][&modem=5]&text=message
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&cat=2
[&enc=2][&modem=5]&
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user2&passwd=user2&cat=2[&enc=3][&modem=5]&
should be decimal form
The parameters are:
Parameter
Description
cat
2
enc
Encoding type to send SMS (optional field)
Range: 0 to 3
0 - SMS text should be in ASCII form
1 - SMS text should be in Extended ASCII form
2 - SMS text is in hexadecimal form. Each hexadecimal value length is maximum 4, and each
hexadecimal value is separated by a semi-colon. Example: 0645;41;646.
3 - SMS text is in decimal form. Each decimal Value length is maximum 5, and each decimal value is
separated by a semi-colon. Example: 1605;65;65300.
Note:
Maximum decimal value allowed is 65535.
If enc is not specified in the send API request, default enc is configured to the settings of the SMS
settings page.
i.e. enc=2, if Unicode is enabled.
enc=1, if Extended ASCII is enabled.
enc=0, if both Extended ASCII and Unicode are disabled
modem
Modem index to send broadcast message
Range : 1 to 4 for SF400
1 to 8 for SF800
0 for any modem (Broadcast API job is distributed using all the available modems)
If modem is not specified in the request, broadcast API job is distributed using all the available modems
If modem is specified, broadcast job is sent using the specified modem
text
The trigger message text to be sent.
Enable Extended ASCII in the MultiModem iSMS to send both ASCII and extended ASCII characters.
By default, Extended ASCII is disabled, and the message can have only ASCII characters.
If Unicode is enabled (and if enc is not specified in request), SMS text is only in Hexadecimal form.
If Extended ASCII is disabled, a maximum of 160 characters can be sent.
If Extended ASCII is enabled, a maximum of 140 characters can be sent.
MultiModem® iSMS System Administrator's Guide
text=message should be hexadecimal form
cat=2[&
text=message
84

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multimodem sf400-gMultimodem sf800-g

Table of Contents