Page
72
30. Phonebook group delete: 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 existing group
groupname
name of existing 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_delete",
"params":{"login":"john","pass":"doe","group_id":"2","groupname":"myuse
rs"}}
RESPONSE:
Response:
{"result": "OK"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong parameters):
{"result": "Wrong or missing >>groupname<< parameter"}
{"result": "Wrong or missing >>group_id<< parameter"}
Response (when group_id is wrong):
{"result": "Group with the given id and name
does not exist"}
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 >>groupname<<
parameter","status":"error"}}
{"result": {"error_text":"Wrong or missing >>group_id<<
parameter","status":"error"}}
Response (when group_id is wrong):
{"result": {"error_text":"Group with the given id does not
exists","status":"error"}}
Содержание NPE-9300-GPRS/3G
Страница 1: ...Page 1...
Страница 6: ...Page 6 1 GET READY TO START...
Страница 13: ...Page 13 2 USING OF SMSEAGLE...
Страница 35: ...Page 35 Screenshot from digital output Add or edit rule window...
Страница 99: ...Page 99 3 TROUBLESHOOTING...
Страница 102: ...Page 102 4 SERVICE AND REPAIR...
Страница 104: ...Page 104 5 TECH SPECS AND SAFETY INFORMATION...