113
| SMSEagle NXS-9700-3G
| User’s Manual
EXAMPLES:
{"method":"phonebook.shift_create",
"params":{"login":"john","pass":"doe","name":"myshift","mon_from":"08:00","
mon_to":"16:00","wed_from":"09:00","wed_to":"20:00","enabled":"1"}}
RESPONSE:
Response:
{"result": "OK; ID=[ID of created shift]"}
Sample response:
{"result": "OK; ID=5"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong parameters):
{"result": "Wrong or missing >>name<< parameter"}
RESPONSE (EXTENDED):
Response:
{"result": {"shift_id":"[ID of created shift]","status":"ok"}}
Sample response:
{"result": {"shift_id":"748","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"
Wrong or missing >>name<< parameter
","status":"error"}}
47. Phonebook shift read: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/shift_read
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
name
(optional parameter)
shift name
enabled
(optional parameter)
0 = disabled, 1 = enabled
shift_id
(optional parameter)
shift id
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/index.php/http_api/shift_read?
login=john&pass=doe&name=myshift
Содержание 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...