156
| 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.contact_read",
"params":{“access_token”:”0005gOjCOlMH8F2x”,"public":"1","uid":"12"}}
RESPONSE:
Sample response:
{"result":[
{"ID":"2","GroupID":"-1","Name":"John
Doe","Number":"123123123","id_user":"1","is_public":"false"},
{"ID":"4","GroupID":"-1","Name":"Jan
Nowak","Number":"4215456456","id_user":"1","is_public":"false"},
{"ID":"5","GroupID":"-
1","Name":"Andy","Number":"+441234155931","id_user":"1","is_public":"false"
}
]}
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 or missing >>uid<< parameter"}
{"result": "Wrong or missing >>public<< parameter"}
RESPONSE (EXTENDED):
Sample response:
{"result":{"contacts":[
{"ID":"2","GroupID":"-1","Name":"John
Doe","Number":"123123123","id_user":"1","is_public":"false"},
{"ID":"4","GroupID":"-1","Name":"Jan
Nowak","Number":"4215456456","id_user":"1","is_public":"false"},
{"ID":"5","GroupID":"-
1","Name":"Andy","Number":"+441234155931","id_user":"1","is_public":"false"
}
],"status":"ok"}}
Response (when no data):
{"result": {"error_text":" No data to display","status":"error"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Содержание 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...