Page
64
{"result":{"signal_strength":[number of messages in database Sentitems
folder],"status":"ok"}}
Sample response:
{"result": {"signal_strength":"7","status":"ok"}}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
23. Phonebook group create: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/group_create
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
groupname
name for the created group
public
(optional parameter) 0 = private group, 1 = public group
responsetype
(optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/index.php/http_api/group_create?
login=john&pass=doe&groupname=myusers&public=1
RESPONSE:
Response: OK; ID=[ID of created group]
Sample response: OK; ID=5
Response (when wrong logindata): Invalid login or password
Response (when wrong parameters): Wrong or missing >>groupname<< parameter
RESPONSE (XML):
Response:
<xml>
<group_id>[ID of created group]</group_id>
<status>ok</status>
</xml>
Sample response:
<xml>
<group_id>5</group_id>
<status>ok</status>
</xml>
Response (when wrong logindata):
<xml>
<error_text>Invalid login or password</error_text>
<status>error</status>
</xml>
Содержание 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...