Page
55
Response (when wrong parameters):
{"result": {"error_text":" Wrong or missing >>udh<< parameter
","status":"error"}}
13. Delete SMS: HTTP GET method
HTTP GET METHOD
:
https://url-of-smseagle/index.php/http_api/delete_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
minimal id of message
idto
maximal id of message
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
Delete message with id=1234 from inbox:
https://url-of-smseagle/index.php/http_api/delete_sms?
login=john&pass=doe&folder=inbox&idfrom=1234&idto=1234
Delete messages with id 1234
–
1250 from inbox:
https://url-of-smseagle/index.php/http_api/delete_sms?
login=john&pass=doe&folder=inbox&idfrom=1234&idto=1250
Delete all messages from outbox:
https://url-of-smseagle/index.php/http_api/delete_sms?
login=john&pass=doe&folder=outbox&idfrom=1&idto=999999999
RESPONSE:
Response: OK
Response (when delete operation was not successful): Error
Response (when wrong logindata): Invalid login or password
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Response (when delete operation was not successful):
<xml>
<status>error</status>
</xml>
Содержание 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...