82
| SMSEagle MHD-8100
| 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:
Содержание MHD-8100-3G
Страница 1: ...SMSEAGLE MHD 8100 3G MHD 8100 4G User s Manual ...
Страница 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I ...
Страница 21: ...21 SMSEagle MHD 8100 User s Manual USING OF SMSEAGLE II ...
Страница 76: ...76 SMSEagle MHD 8100 User s Manual Screenshot from Blacklist Define STOP word feature ...
Страница 207: ...207 SMSEagle MHD 8100 User s Manual TROUBLESHOOTING I I I I I I ...
Страница 210: ...210 SMSEagle MHD 8100 User s Manual SERVICE REPAIR IV I ...
Страница 212: ...212 SMSEagle MHD 8100 User s Manual TECH SPECS SAFETY INFORMATION V I ...