130
| SMSEagle NXS-9700-3G
| User’s Manual
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"sms.set_modem_state", "params":{"login":"john","pass":"doe",
"status":"enabled"}}
RESPONSE:
{
"
result
"
: enabled / disabled }
Sample response:
{
"
result
"
:
"enabled"
}
Response
(when wrong logindata)
:
{
"
result
"
:
"
Invalid login or password
"
}
Response
(when modem doesn’t exist)
:
{
"
result
"
:
"
Wrong modem number
"
}
Response (when wrong modem state):
{
"
result
"
:
"
Wrong modem state
"
}
RESPONSE (EXTENDED):
Response:
{"result":{"modem_status":
enabled / disabled
,"status":"ok"}}
Sample response:
{"result": {"modem_status":"Wrong modem
number","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response
(when modem doesn’t exist)
:
{"result": {"error_text":"
Wrong modem number
","status":"error"}}
Response (when wrong modem state):
{"result": {"error_text":"
Wrong modem state
","status":"error"}}
61.
User ID read: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/userid_read
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
username
username to be queried
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/index.php/http_api/userid_read?
login=john&pass=doe&username=myuser
Содержание NXS-9700
Страница 1: ...User s Manual SMSEAGLE NXS 9700...
Страница 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Страница 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Страница 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Страница 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Страница 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...