Appendix A – Application Programming Interface (API)
Multi-Tech Systems, Inc. MultiModem® iSMS User Guide for Administrators 89
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
Note: The maximum supported size of the URL is 2048 bytes.
Status Codes
Status Code Status Description Description
0
Done The MultiModem iSMS has completed servicing the
"Send" job. The message has been successfully sent to
the Cellular network for delivery to all intended
recipients.
1
Done with error The MultiModem iSMS has completed servicing the
"Send" job, but the message is not sent to all the
recipients
2 In progress The MultiModem iSMS is processing the "Send" API.
3
Request Received The MultiModem iSMS has received the "Send"
request.
4
Error Error occurred while sending the SMS from the
MultiModem iSMS.
An API Message ID does not exist.
The Master MultiModem iSMS has distributed the Job
to a given slave.
[10.10.10.101]
7 Distribution resulted in
error
Master tried to send the job to the slaves and could
not send the job to any of the slaves as the slaves are
not available (loaded full or network unreachable)
8 Distributed among
many Slaves
The Master MultiModem iSMS has distributed the Job
Request among many Slaves.
9 API is canceled Reflects that API job is dropped if the Send API job is
canceled from the WEB GUI
Downloaded from Elcodis.com electronic components distributor