Page
38
HTTP POST METHOD:
https://url-of-smseagle/index.php/jsonrpc/sms
PARAMETERS:
Parameter
Description
login
your user to login to SMSEagle
pass
your password to login to SMSEagle
to
recipient telephone number (or numbers separated with comma)
message
your SMS message
date
(optional parameter) date and time in format YYYYmmDDHHMM (YYYY – year,
mm – month, DD – day, HH – hour, MM – minute). If this parameter is not null
SMS will be scheduled for sending at the given date and time
highpriority
(optional parameter) 0 = normal priority, 1 = SMS will have higher priority in
Outbox queue when processed by GSM-modem
unicode
(optional parameter) 0 = no Unicode encoding (default), 1 = SMS will be
encoded using Unicode (you can send national characters)
flash
(optional parameter) 0 = normal SMS (default), 1 = SMS will be sent as flash
message
modem_no
(optional parameter) sending modem number (only for multimodem devices)
responsetype
(optional parameter) simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
SAMPLE BODY:
{"method":"sms.send_sms",
"params":{"login":"john","pass":"doe","to":"481234567
″,"
message":"My
message"}}
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"}}
Response (when wrong logindata):
Содержание 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...