Page
59
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>
<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>
18. Get inbox length: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/index.php/jsonrpc/sms
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...