196
| SMSEagle NXS-9700
| User’s Manual
responsetype
optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
BODY:
{"method":"phonebook.set_contact_vacation_mode",
"params":{"access_token":"0005gOjCOlMH8F2x","contact_id":"4",
"contactname":"johnlord","status":"enabled"}}
RESPONSE:
{"result":"ok"}
Sample response:
{"result":"ok"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong access token):
{"result": "Invalid access token"}
Response (when wrong status):
{"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result":{"vacation_mode": enabled / disabled,"status":"ok"}}
Sample response:
{"result": {"vacation_mode":"enabled","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong access token):
{"result": {"error_text":"Invalid access token","status":"error"}}
Response (when wrong status):
{"result": {"error_text":"Wrong parameters","status":"error"}}
71.
Phonebook contact get vacation mode: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/http_api/get_contact_vacation_mode
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
contact_id
id of existing contact
contactname
name of existing contact
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
Содержание 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...