44
| SMSEagle NXS-9700-3G
| User’s Manual
or
{"method":"sms.send_sms",
"params":{"login":"john","pass":"doe","to":"481234567″,"message":"My
message","date":"201401152132″}}
or
{"method":"sms.send_sms",
"params":{"login":"john","pass":"doe","to":"481234567″,"message":"My
message","highpriority":"1″}}
RESPONSE:
Response:
{"result": "OK; ID=[ID of message in outbox]"}
Sample response:
{"result": "OK; ID=297"}
Response (when wrong logindata):
{"result": "Invalid login or password"}
Response (when wrong parameters):
{"result": "Wrong parameters"}
RESPONSE (EXTENDED):
Response:
{"result": {"message_id":"[ID of message in outbox]","status":"ok"}}
Sample response:
{"result": {"message_id":"748","status":"ok"}}
Sample response when parameter “to” contains multiple phone numbers:
{"result":[{"message_id":"3643","status":"ok"},{"message_id":"3644","status
":"ok"},{"message_id":"3645","status":"ok"},{"message_id":"3646","status":"
ok"},{"message_id":"3647","status":"ok"}]}
Response (when wrong logindata):
{"result": {"error_text":"Invalid login or password","status":"error"}}
Response (when wrong parameters):
{"result": {"error_text":"Wrong parameters","status":"error"}}
3. Send SMS to a group: HTTP GET method
HTTP GET METHOD:
https://url-of-smseagle/index.php/http_api/send_togroup
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
groupname
group name defined in your SMSEagle Phonebook. The group must be defined
as Public
message
your SMS message
Содержание 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...