88
| SMSEagle NXS-9700
| User’s Manual
send_before
(optional parameter) s
end a message before specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
message_type
(optional parameter)
sms = normal SMS (default), mms = multimedia message
MMS
attachments
(optional parameter)
this parameter is only used when parameter
message_type=mms The parameter accepts array with MMS attachments. Each
array element must contain:
•
content-type: mime type of attached file. Supported mime-
types: image/jpeg, image/gif, image/png, image/bmp
•
content: file content with data encoded in base64
test
(optional parameter)
1 = simulate message sending. Messages with that
parameter will not be added to outbox and they will return ID = 0
SAMPLE BODY:
{"method":"sms.send_sms",
"params":{“access_token”:”0005gOjCOlMH8F2x”
,"to":"481234567″,"message":"My
message"}}
or
{"method":"sms.send_sms",
"params":{„access_token”:”0005gOjCOlMH8F2x”
,"to":"481234567″,"message":"My
message","date":"201401152132″}}
or
{"method":"sms.send_sms",
"params":{„access_token”:”0005gOjCOlMH8F2x”
,"to":"481234567″,"message":"My
message","highpriority":"1″}}
SAMPLE BODY (MMS):
{"method":"sms.send_sms",
"params":{„access_token”:”0005gOjCOlMH8F2x”
,"to":"481234567″,"message":"My
message","message_type":"mms",
"attachments": [{
"content_type":"image/png",
"content ":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAE(…)",
}]}}
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 access token):
{"result": "Invalid access token"}
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:
Содержание NXS-9700-3G
Страница 1: ...Rev 1 Rev 2 Rev 3 Rev 4 User s Manual SMSEAGLE NXS 9700 3G NXS 9700 4G...
Страница 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I...
Страница 21: ...21 SMSEagle NXS 9700 User s Manual USING OF SMSEAGLE II...
Страница 213: ...213 SMSEagle NXS 9700 User s Manual TROUBLESHOOTING I I I...
Страница 217: ...217 SMSEagle NXS 9700 User s Manual SERVICE REPAIR IV...
Страница 219: ...219 SMSEagle NXS 9700 User s Manual TECH SPECS SAFETY INFORMATION V...