177
| SMSEagle MHD-8100
| User’s Manual
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>
58.
Get 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 to be queried (default = 1). Used only in
multimodem devices
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"sms.get_modem_state",
"params":{“access_token”:”0005gOjCOlMH8F2x”}}
RESPONSE:
{
"
result
"
: enabled / disabled }
Sample response:
{
"
result
"
:
"enabled"
}
Response
(when wrong logindata)
:
{
"
result
"
:
"
Invalid login or password
"
}
Response (when wrong access token):
{"result": "Invalid access token"}
Response
(when modem doesn’t exist)
:
{
"
result
"
:
"
Wrong modem number
"
}
RESPONSE (EXTENDED):
Response:
{"result":{"modem_status":
enabled / disabled
,"status":"ok"}}
Sample response:
{"result": {"modem_status":"Wrong modem
Содержание MHD-8100-3G
Страница 1: ...SMSEAGLE MHD 8100 3G MHD 8100 4G User s Manual ...
Страница 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I ...
Страница 21: ...21 SMSEagle MHD 8100 User s Manual USING OF SMSEAGLE II ...
Страница 76: ...76 SMSEagle MHD 8100 User s Manual Screenshot from Blacklist Define STOP word feature ...
Страница 207: ...207 SMSEagle MHD 8100 User s Manual TROUBLESHOOTING I I I I I I ...
Страница 210: ...210 SMSEagle MHD 8100 User s Manual SERVICE REPAIR IV I ...
Страница 212: ...212 SMSEagle MHD 8100 User s Manual TECH SPECS SAFETY INFORMATION V I ...