185
| SMSEagle NXS-9700
| User’s Manual
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
Response (when wrong access token):
<xml>
<error_text>Invalid Access token</error_text>
<status>error</status>
</xml>
Response (when modem doesn’t exist):
<xml>
<error_text> Wrong modem number</error_text>
<status>error</status>
</xml>
Response (when wrong modem state):
<xml>
<error_text>Wrong modem state</error_text>
<status>error</status>
</xml>
60. Set modem state: JSONRPC method
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
(optional parameter)
modem number for status change (default = 1). Used only in
multimodem devices
status
enabled / disabled
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"sms.set_modem_state",
"params":{“access_token”:”0005gOjCOlMH8F2x”, "status":"enabled"}}
RESPONSE:
Содержание NXS-9700-3G
Страница 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Страница 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Страница 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Страница 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Страница 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...