100
| SMSEagle NXS-9700-3G
| User’s Manual
number
telephone number for the created contact
public
(optional parameter)
0 = private contact 1 = public contact (default value)
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_create",
"params":{"login":"john","pass":"doe","contactname":"johndoe","number":"123
45678","public":"1"}}
RESPONSE:
Response:
{"result": "OK; ID=[ID of created contact]"}
Sample response:
{"result": "OK; ID=2"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong parameters):
{"result": "Wrong or missing >>contactname<< parameter"}
{"result": "Wrong or missing >>number<< parameter"}
RESPONSE (EXTENDED):
Response:
{"result": {"contact_id":"[ID of created contact]","status":"ok"}}
Sample response:
{"result": {"contact_id":"2","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 >>contactname<<
parameter"},"status":"error"}}
{"result": {"error_text":"Wrong or missing >>number<<
parameter","status":"error"}}
37.
Phonebook contact read: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/contact_read
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
Содержание NXS-9700
Страница 1: ...User s Manual SMSEAGLE NXS 9700...
Страница 7: ...7 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 13: ...13 SMSEagle NXS 9700 3G User s Manual USING OF SMSEAGLE II...
Страница 145: ...145 SMSEagle NXS 9700 3G User s Manual 8 To enable v2 access policy run snmpv3 enablev2...
Страница 151: ...151 SMSEagle NXS 9700 3G User s Manual TROUBLESHOOTING I I I I I I...
Страница 155: ...155 SMSEagle NXS 9700 3G User s Manual SERVICE REPAIR IV I...
Страница 157: ...157 SMSEagle NXS 9700 3G User s Manual TECH SPECS SAFETY INFORMATION V I...