86
| SMSEagle MHD-8100
| User’s Manual
send_after
(optional parameter) s
end a message after specified time. It can be used to
prevent messages from being sent at night. Format: HH:MM:SS (HH – hour, MM
– minute, SS – second)
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
EXAMPLES:
{"method":"sms.send_togroup", "params":{"access_token":
"0005gOjCOlMH8F2x","groupname":"admins","message":"mymessage"}}
or
{"method":"sms.send_togroup",
"params":{"access_token":"0005gOjCOlMH8F2x","groupname":"admins","message":
"mymessage","date":"201401152132"}}
or
{"method":"sms.send_togroup",
"params":{"access_token":"0005gOjCOlMH8F2x","groupname":"admins","message":
"mymessage","highpriority":"1"}}
EXAMPLE (MMS):
{"method":"sms.send_togroup",
"params":{"access_token":"0005gOjCOlMH8F2x","groupname":"
admins","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"}}
Summary of Contents for MHD-8100-3G
Page 1: ...SMSEAGLE MHD 8100 3G MHD 8100 4G User s Manual ...
Page 9: ...9 SMSEagle NXS 9700 3G User s Manual GET READY TO START I ...
Page 21: ...21 SMSEagle MHD 8100 User s Manual USING OF SMSEAGLE II ...
Page 76: ...76 SMSEagle MHD 8100 User s Manual Screenshot from Blacklist Define STOP word feature ...
Page 207: ...207 SMSEagle MHD 8100 User s Manual TROUBLESHOOTING I I I I I I ...
Page 210: ...210 SMSEagle MHD 8100 User s Manual SERVICE REPAIR IV I ...
Page 212: ...212 SMSEagle MHD 8100 User s Manual TECH SPECS SAFETY INFORMATION V I ...