78
| SMSEagle NXS-9700-3G
| User’s Manual
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
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_inbox_length?
login=john&pass=doe
RESPONSE:
Response:
[number of messages in database Inbox folder]
Sample response: 3
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 Inbox folder]
</queue_length>
<status>ok</status>
</xml>
Sample response:
<xml>
<inbox_length>3</inbox_length>
Содержание NXS-9700
Страница 1: ...User s Manual SMSEAGLE NXS 9700...
Страница 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Страница 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Страница 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Страница 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Страница 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...