SMSEagle NXS-9700 User Manual page 95

Table of Contents

Advertisement

Parameter
login
pass
group_id
contact_id
responsetype
EXAMPLES:
{"method":"phonebook.group_addcontact",
"params":{"login":"john","pass":"doe","group_id":"2","contact_id":"1"}}
RESPONSE:
Response: {"result": "OK"}
Response (when wrong logindata): {"result": "Invalid login or password"}
Response (when wrong parameters):
{"result": "Wrong or missing >>group_id<< parameter"}
{"result": "Wrong or missing >>contact_id<< parameter"}
Response (when id is wrong):
{"result": "Group with the given id does not exists"}
{"result": "Contact with the given id does not exists"}
RESPONSE (EXTENDED):
Response: {"result":{"status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"Wrong or missing >>group_id<<
parameter","status":"error"}}
{"result": {"error_text":"Wrong or missing >>contact_id<<
parameter","status":"error"}}
Response (when id is wrong):
{"result": {"error_text":"Group with the given id does not
exists","status":"error"}}
{"result": {"error_text":"Contact with the given id does not
exists","status":"error"}}
95
| SMSEagle NXS-9700-3G
Description
your user to login to SMSEagle
your password to login to SMSEagle
id of existing group (or id's separated with comma)
id of contact. The contact will be added to the group
(optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
| User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NXS-9700 and is the answer not in the manual?

Table of Contents