Specifications

Appendix A – Application Programming Interface (API)
81 MultiModem® iSMS System Administrator’s Guide
Sending to an Address Book Name
The API can be used to send the message to a name in the MultiModem iSMS address book. If the name does not exist in
the address book, the message is dropped.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=1
[&enc=0][priority=3][&modem=2]&ton=”bob”&text=message
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=1
[&enc=2][priority=3][&modem=2]&ton=”bob”&text=41;42;645;0645(hexadeci
mal form)
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=1
[&enc=3][priority=3][&modem=2]&ton=”bob”&text=65;66;67(decimal form)
The parameters are:
Parameter Description
cat 1
enc Encoding type to send SMS(Optional field)
Range: 0 to 3
0 - SMS text in ASCII form
1 - SMS text in Extended ASCII form
2 - SMS text 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 entered 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 the configured settings in SMS settings
page.
enc=2, if Unicode is enabled.
enc=1, if Extended ASCII is enabled.
enc=0, if both Extended ASCII and Unicode are disabled
priority Priority to send SMS(Optional field)
Range: 1 to 3
1 - Low Priority
2 - Normal Priority
3 - High Priority
If priority is not specified in the request, the default priority is normal.
modem Modem index to send SMS (this is only for the SF 400/800 models)
Range : 1 to 4 for SF 400
1 to 8 for SF 800
0 for any modem (Send API job is distributed using all the available modems)
If modem is not specified in the request, send API job is distributed using all the available modems