139
| SMSEagle NXS-9700
| User’s Manual
<xml>
<error_text>Wrong or missing >>uid<< parameter</error_text>
<status>error</status>
</xml>
Response (when wrong parameters):
<xml>
<error_text>Wrong or missing >>public<< parameter</error_text>
<status>error</status>
</xml>
26. Phonebook group read: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/jsonrpc/sms
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
public
(optional parameter)
0 = private group (default value), 1 = public group
uid
(optional parameter)
id of user who created the group
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
EXAMPLES:
{"method":"phonebook.group_read",
"params":{“access_token”:”0005gOjCOlMH8F2x”,"public":"1","uid":"12"}}
RESPONSE:
Sample response:
{"result":[
{"Name":"private","ID":"2","id_user":"1","is_public":"true"},
{"Name":"Everyone","ID":"3","id_user":"1","is_public":"true"},
{"Name":"work","ID":"4","id_user":"2","is_public":"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 or missing >>uid<< parameter"}
{"result": "Wrong or missing >>public<< parameter"}
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...