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

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

Advertisement

Appendix A – Application Programming Interface (API)
Sending an Action Trigger Message
Use this API to perform a predefined action.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=3
[&enc=0]
&text=message
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&cat=3[&enc=2]
hexadecimal form
Example: Configured action trigger for adding preconfigured SMS as 41;42;43 (with enc=2).
Preconfigured SMS to add is 645;646;647;648 (in hexadecimal form).
In an API request, the text field is in the format:
Configured action trigger; Preconfigured SMS
text=41;42;43;;645;646;647;648 (not correct)
text=41;42;43;3a;645;646;647;648 (correct format)
Here 3a is equivalent hexadecimal value for a semi-colon. Use equivalent hexadecimal value for either semi-colon or
colon.
-or-
http://192.168.2.1[:portnumber]/sendmsg?user=user1&passwd=user1&
cat=3[&enc=3]
Example: Configured action trigger for adding preconfigured SMS as 41;42;43(with enc=3).
Preconfigured SMS to add is 645;646;647;648 (in decimal form).
In an API request, the text field is in the format:
Configured action trigger;Preconfigured SMS
text=41;42;43;;645;646;647;648 (not correct)
text=41;42;43;58;645;646;647;648 (correct format)
Here 58 is decimal equivalent value for a semi-colon. Use equivalent decimal value for either semi-colon or colon.
Irrespective of the spanned SMS value set, the maximum number of characters allowed in the text field is:
160 for ASCII
140 for Extended ASCII
70 for Unicode
Any characters entered beyond the allowed limit are truncated.
MultiModem® iSMS System Administrator's Guide
&text=message should be decimal form.
&text=message should be
86

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multimodem sf400-gMultimodem sf800-g

Table of Contents