Page
58
<status>error</status>
</xml>
16. Get outgoing queue length: JSONRPC method
HTTP POST METHOD CALL:
https://url-of-smseagle/index.php/jsonrpc/sms
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
responsetype
(optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"sms.get_queue_length",
"params":{"login":"john","pass":"doe"}}
RESPONSE:
Response:
{"result": [number of messages in database that wait to be
processed by GSM-modem]}
Sample response:
{"result":7}
Response:
{"result": "Invalid login or password"}
Response:
{"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result":{"queue_length":[number of messages in database that wait to
be processed by GSM-modem],"status":"ok"}}
Sample response:
{"result": {"queue_length":"419","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"Wrong parameters","status":"error"}}
17. Get inbox length: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/get_inbox_length
Parameter
Description
Summary of Contents for NPE-9300-GPRS/3G
Page 1: ...Page 1...
Page 6: ...Page 6 1 GET READY TO START...
Page 13: ...Page 13 2 USING OF SMSEAGLE...
Page 35: ...Page 35 Screenshot from digital output Add or edit rule window...
Page 99: ...Page 99 3 TROUBLESHOOTING...
Page 102: ...Page 102 4 SERVICE AND REPAIR...
Page 104: ...Page 104 5 TECH SPECS AND SAFETY INFORMATION...