Page
81
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
Response (when wrong parameters):
<xml>
<error_text>Wrong or missing >>uid<< parameter</error_text>
<status>error</status>
</xml>
<xml>
<error_text>Wrong or missing >>public<< parameter</error_text>
<status>error</status>
</xml>
38.
Phonebook contact 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
public
(optional parameter) 0 = private contacts (default value), 1 = public contacts
uid
(optional parameter) id of user who created the contact
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":{"login":"john","pass":"doe","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":"fa
lse"}
]}
Response (when no data):
{"result": "No data to display"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong parameters):
Summary of Contents for NPE-9300-GPRS/3G
Page 1: ...Page 1...
Page 6: ...Page 6 1 GET READY TO START...
Page 13: ...Page 13 2 USING OF SMSEAGLE...
Page 35: ...Page 35 Screenshot from digital output Add or edit rule window...
Page 99: ...Page 99 3 TROUBLESHOOTING...
Page 102: ...Page 102 4 SERVICE AND REPAIR...
Page 104: ...Page 104 5 TECH SPECS AND SAFETY INFORMATION...