77
| SMSEagle NXS-9700-3G
| User’s Manual
<queue_length>7</queue_length >
<status>ok</status>
</xml>
Response (when wrong logindata):
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
Response (when
wrong parameters
):
<xml>
<error_text>Wrong parameters</error_text>
<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"}}
Summary of Contents for NXS-9700
Page 1: ...User s Manual SMSEAGLE NXS 9700...
Page 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Page 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Page 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Page 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Page 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...