126
| SMSEagle NXS-9700
| User’s Manual
"params":{"access_token"=0005gOjCOlMH8F2x","folder":"outbox","idfrom":"1","
idto":"999999999"}}
RESPONSE:
Response:
{"result": "OK"}
Response (when delete operation was not successful):
{"result": "Error"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong access token):
{"result": "Invalid access token"}
RESPONSE (EXTENDED):
Response:
{"result":{"status":"ok"}}
Response (when delete operation was not successful):
{"result":{"status":"error"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong access token):
{"result": {"error_text":"Invalid access token","status":"error"}}
15. Get outgoing queue length: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/http_api/get_queue_length
Parameter
Description
access_token
authentication access token (see details in point API Authentication)
Login
your user to login to SMSEagle (see details in point API Authentication)
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/http_api/get_queue_length?
access_token=0005gOjCOlMH8F2x
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 access token):
Invalid access token
Response (when wrong parameters):
Wrong parameters
RESPONSE (XML):
Response:
<xml>
Summary of Contents for NXS-9700-3G
Page 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Page 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Page 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Page 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Page 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...