90
| SMSEagle MHD-8100
| User’s Manual
responsetype
(optional parameter)
simple = format response as simple object with one result
field (default), extended = format response as extended JSON object
validity
(optional parameter)
How long will be the message valid. If message expires
before it is received by a phone, the message will be discarded by cellular
network.
Acceptable parameter values: 5m, 10m, 30m, 1h, 2h, 4h, 12h, 1d, 2d,
5d, 1w, 2w, 4w, max. Default value: max
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_tocontact",
"params":{"access_token":"0005gOjCOlMH8F2x","contactname":"johndoe","messag
e":"mymessage"}}
or
{"method":"sms.send_tocontact",
"params":{"access_token":"0005gOjCOlMH8F2x","contactname":"johndoe","messag
e":"mymessage","date":"201401152132"}}
or
{"method":"sms.send_tocontact",
"params":{"access_token":"0005gOjCOlMH8F2x","contactname":"johndoe","messag
e":"mymessage","highpriority":"1"}}
EXAMPLE (MMS):
{"method":"sms.send_togroup",
"params":{"access_token":"0005gOjCOlMH8F2x","contactname":"
johndoe″,"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]"}
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 ...