User Manual

109 | SMSEagle NXS-9700-3G | User’s Manual
{"result": {"error_text":"Wrong or missing >>contact_id<<
parameter","status":"error"}}
{"result": {"error_text":"Wrong or missing >>number<<
parameter","status":"error"}}
Response (when contact_id is wrong):
{"result": {"error_text":"Contact with the given id does not
exists","status":"error"}}
41. Phonebook contact delete: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/contact_delete
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
contact_id
id of existing contact
contactname
name of existing contact
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/index.php/http_api/contact_delete?
login=john&pass=doe&contact_id=4&contactname=johnlord
RESPONSE:
Response: OK
Response (when wrong logindata): Invalid login or password
Response (when wrong parameters):
Wrong or missing >>contactname<< parameter
Wrong or missing >>contact_id<< parameter
Response (when contact_id is wrong): Contact with the given id and name does not exists
RESPONSE (XML):
Response:
<xml>
<status>ok</status>
</xml>
Response (when wrong logindata):