User Manual

136 | SMSEagle NXS-9700-3G | User’s Manual
</xml>
Response (when wrong or missing group_id parameter):
<xml>
<error_text>Wrong or missing >>group_id<< parameter</error_text>
<status>error</status>
</xml>
Response (when wrong user_id parameter):
<xml>
<error_text>Wrong >>user_id<< parameter</error_text>
<status>error</status>
</xml>
Response (when wrong public parameter):
<xml>
<error_text> Wrong >>public<< parameter </error_text>
<status>error</status>
</xml>
64. Group members read: JSONRPC method
HTTP POST METHOD:
https://url-of-smseagle/index.php/jsonrpc/sms
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
group_id
ID of group to be queried
user_id
(optional parameter) show only contacts created by user with given ID
public
(optional parameter) 0 = private, 1 = public
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"phonebook.group_members_read",
"params":{"login":"john","pass":"doe","group_id":"11"}}
RESPONSE:
Sample response: