Multitech MultiModem SF 100-G User Manual page 74

Intelligent sms server
Hide thumbs Also See for MultiModem SF 100-G:
Table of Contents

Advertisement

Sending to Multiple Numbers, Address Book Recipients or Groups
An SMS can be sent to multiple numbers, address book names and groups using a single API.
HTTP API format is:
http://192.168.2.1[:portnumber]/sendmsg?user=xxx&passwd=xxx&cat=1[&mo
dem=8]&to="xxx1","xxx2","xxx3"&ton="name1","name2"&group="admin","rd"
,"market"&text=message
xxx1, xxx2 and xxx3 are mobile numbers.
name1 and name2 are names in the Address Book.
admin, rd and market are groups present in the MultiModem iSMS.
Note:
The to, ton and group parameters should be enclosed in quotes.
Response from the MultiModem iSMS after Submitting the Send SMS API
The MultiModem iSMS returns a unique identifier; i.e., an API message ID for each "Send API request".
This ID can be used to track and monitor any given message.
ID: apimsgid
OR
Err: error code
e.g.,
ID: 1
Err: 601
HTTP Query API Format
Processing the "Send API" and sending the message takes some time. So, only an apimsgid is returned
as a response to the "Send SMS API". Query API can be used to query the status of a Send. It returns
the status of a message submitted earlier.
HTTP API format is:
http://192.168.2.1[:portnumber]/querymsg?user=xxx&passwd=xxx&apimsgid
=id
Response values:
ID: apimsgid Status: status code
OR
ID: apimsgid Err: error code
OR
Err: error code
e.g.,
ID: 1 Status: Done
ID: 1 Err: 604
Err: 602
Multi-Tech Systems, Inc.
MultiModem® iSMS User Guide for Administrators
Appendix A – Application Programming Interface (API)
74

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multimodem sf 400-gMultimodem sf 800-g

Table of Contents