Receive Api - Polling Mode - Multitech MultiModem iSMS SF100-G Administrator's Manual

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

Advertisement

Receive API – Polling Mode
Receive API polling mode has two commands. The querycount? command and the recvmsg? command.
querycount?
The query count command determines the number of unread SMS messages in the MultiModem iSMS receive queue.
recvmsg?
The receive message command retrieves the unread SMS messages from the receive queue.
Once a message is retrieved (read), it cannot be read again. A record of the SMS is kept in the SMS Services Inbox.
Receive API Polling Mode Query Format
The format of the command can be as an HTTP/1.1 Get or in a product-specific, raw TCP protocol as shown below.
/<command?><usercredentials><options><end-of-line>
GET /recvmsg?user=admin&passwd=admin[&count=][&from][&fdate=][&tdate=][&ftime=][&ttime=][&text=]
Query options are only used with the recvmsg? Command:
All options given within [] indicate that they are optional
count – number of messages to be displayed
If filter is not given, it gives count of ALL unread messages
from – SMS from this mobile number
fdate, tdate – SMS received during this date period (from fdate; to tdate)
date format: yy/mm/dd
ftime, ttime – SMS received during this time period (from ftime; to ttime)
time format: hh:mm:ss
text – SMS received matching this text completely
107
Appendix A – Application Programming Interface (API)
MultiModem® iSMS System Administrator's Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multimodem sf400-gMultimodem sf800-g

Table of Contents