192
| SMSEagle NXS-9700
| User’s Manual
<error_text>Wrong parameters </error_text>
<status>error</status>
</xml>
66. Call forward read: JSONRPC method
Important Notice: This feature is available only devices with 3G modems.
HTTP POST METHOD:
https://url-of-smseagle/jsonrpc/sms
Parameter
Description
access_token
authentication access token (see details in point API Authentication)
login
your user to login to SMSEagle (see details in point API Authentication)
pass
your password to login to SMSEagle
modem_no
modem number
(default = 1)
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"phone.call_forward_read",
"params":{"access_token":"0005gOjCOlMH8F2x","modem_no":"1"}}
RESPONSE:
Sample response:
{"result":"0"}
(call forwarding disabled)
{"result":"1;+48123456789"}
(call forwarding enabled to 48123456789)
Response (when modem/cellular network returns wrong response):
{"result": "error"}
Response (when wrong modem_no parameter):
{"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Sample response:
{"result":{"call_forward_status":"0","status":"ok"}}
{"result":{"call_forward_status":"1;+48123456789","status":"ok"}}
Response (when wrong parameters):
{"result":{"error_text":"Wrong parameters","status":"error"}}
67.
Call forward set: HTTP GET method
Important Notice: This feature is available only devices with 3G modems.
HTTP GET METHOD:
https://url-of-smseagle/http_api/call_forward_set
Summary of Contents for NXS-9700-3G
Page 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Page 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Page 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Page 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Page 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...