75
| SMSEagle NXS-9700-3G
| User’s Manual
Response (
when delete operation was not successful
):
<xml>
<status>error</status>
</xml>
Response (when wrong logindata):
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
14. Delete SMS: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/index.php/jsonrpc/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)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
Delete message with id=1234 from inbox:
{"method":"sms.delete_sms",
"params":{"login":"john","pass":"doe","folder":"inbox","idfrom":"1234""idto
":"1234"}}
Delete messages with id 1234
–
1250 from inbox:
{"method":"sms.delete_sms",
"params":{"login":"john","pass":"doe","folder":"inbox","idfrom":"1234","idt
o":"1250"}}
Delete all messages from outbox:
{"method":"sms.delete_sms",
"params":{"login":"john","pass":"doe","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"}
Summary of Contents for NXS-9700
Page 1: ...User s Manual SMSEAGLE NXS 9700...
Page 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Page 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Page 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Page 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Page 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...