170
| 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
EXAMPLES:
{"method":"phonebook.shift_read",
"params":{“access_token”:”0005gOjCOlMH8F2x”,"name":"myshift"}}
RESPONSE:
Sample response:
{
"result": [
{
"id_shift": "62",
"name": "myshift",
"mon_from": "08:00",
"mon_to": "16:00",
"tue_from": null,
"tue_to": null,
"wed_from": "09:00",
"wed_to": "20:00",
"thu_from": null,
"thu_to": null,
"fri_from": null,
"fri_to": null,
"sat_from": null,
"sat_to": null,
"sun_from": null,
"sun_to": null,
"enabled": "true"
}
]
}
Response (when no data):
{"result": "No data to display"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong access token):
{"result": "Invalid access token"}
Response (when wrong parameters):
{"result": "Wrong >>
enabled<< parameter"}
{"result": "Wrong >>shift_id<< parameter"}
RESPONSE (EXTENDED):
Sample response:
{
"result": {
"shifts": [
{
"id_shift": "62",
"name": "myshift",
"mon_from": "08:00",
"mon_to": "16:00",
"tue_from": null,
Summary of Contents for NXS-9700-3G
Page 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Page 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Page 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Page 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Page 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...