User Manual

79 | SMSEagle NXS-9700-3G | User’s Manual
Response (when delete operation was not successful):
{"result":{"status":"error"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
15. Get outgoing queue length: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/get_queue_length
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/index.php/http_api/get_queue_length?
login=john&pass=doe
RESPONSE:
Response: [number of messages in database that wait to be processed by GSM-modem]
Sample response: 7
Response (when wrong logindata): Invalid login or password
Response (when wrong parameters): Wrong parameters
RESPONSE (XML):
Response:
<xml>
<queue_length>
[number of messages in database that wait to be processed by GSM-modem]
</queue_length >
<status>ok</status>
</xml>
Sample response:
<xml>
<queue_length>7</queue_length >
<status>ok</status>
</xml>