151
| SMSEagle NXS-9700
| User’s Manual
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"}}
35.
Phonebook contact create: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/http_api/contact_create
Parameter
Description
access_token
authentication access token (see details in point API Authentication)
login
your user to login to SMSEagle (see details in point API Authentication)
pass
your password to login to SMSEagle
contactname
name for the created contact
number
telephone number for the created contact
public
(optional parameter)
0 = private contact, 1 = public contact (default value)
responsetype
(optional parameter)
text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/contact_create?
access_token=0005gOjCOlMH8F2x&contactname=johndoe&number=12345678&public=1
RESPONSE:
Response:
OK; ID=[ID of created contact]
Sample response: OK; ID=2
Response (when wrong logindata):
Invalid login or password
Response (when wrong access token):
Invalid access token
Response (when wrong parameters):
Wrong or missing >>contactname<< parameter
Wrong or missing >>number<< parameter
RESPONSE (XML):
Response:
<xml>
<contact_id>[ID of created contact]</contact_id>
<status>ok</status>
</xml>
Summary of Contents for NXS-9700-3G
Page 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Page 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Page 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Page 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Page 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Page 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...