Page
49
Response (when wrong parameters):
{"result": {"error_text":" Wrong or missing >>udh<< parameter
","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"Wrong or missing >>data<< parameter",
"status":"error"}}
11.
Read SMS: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/read_sms
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
folder
one of the following: inbox, outbox, sentitems
idfrom
(optional parameter) minimal message-id
from
(optional parameter) telephone number of SMS sender (for inbox)
to
(optional parameter) telephone number of SMS receiver (for sentitems)
datefrom
(optional parameter) date and time in format YYYYmmDDHHMMSS (YYYY –
year, mm – month, DD – day, HH – hour, MM – minutes, SS – seconds). Show
only messages sent/received on this date/time and later
dateto
(optional parameter) date and time in format YYYYmmDDHHMMSS (YYYY –
year, mm – month, DD – day, HH – hour, MM – minutes, SS – seconds). Show
only messages sent/received on this date/time and earlier
limit
(optional parameter) how many messages to show
unread
(optional parameter) 1 = show only unread messages
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
Show all messages from inbox:
https://url-of-smseagle/index.php/http_api/read_sms?
login=john&pass=doe&folder=inbox
Show all unread messages from inbox:
https://url-of-smseagle/index.php/http_api/read_sms?
login=john&pass=doe&folder=inbox&unread=1
Show messages from sentitems folder with id=1234 and higher. Limit
number of messages to 5:
https://url-of-smseagle/index.php/http_api/read_sms?
login=john&pass=doe&folder=sentitems&idfrom=1234&limit=5
Show messages from inbox folder with sender phone 481234567:
Содержание NPE-9300-GPRS/3G
Страница 1: ...Page 1...
Страница 6: ...Page 6 1 GET READY TO START...
Страница 13: ...Page 13 2 USING OF SMSEAGLE...
Страница 35: ...Page 35 Screenshot from digital output Add or edit rule window...
Страница 99: ...Page 99 3 TROUBLESHOOTING...
Страница 102: ...Page 102 4 SERVICE AND REPAIR...
Страница 104: ...Page 104 5 TECH SPECS AND SAFETY INFORMATION...