Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Send Multiple MMS

...

ContentType = MutlipartPart/Form-Data  or Raw - application/json 

This service can be used to send either multiple SMS or multiple MMS.   When sending multipleSMS leave the image properties blank.

Message Size Limitations

Telstra it's up to 2MB, Optus up to 1.5MB and Vodafone only allows up to 500kB

messages over 600kb incur 1.6 times standard cost.

Supported Media Types

".png", ".jpg", ".jpeg", ".bmp", ".gif", ".avi",".flv",".wmv",".mp4",".mpg",".3gp",".mov", ".aif", ".cda", ".mid", ".midi", ".mp3",".mpa", ".ogg", ".wav" , ".wma", ".wpl"

Message Process Notes

Recipient Address and Number Validation.

...

To send to any country destination with MMS messages we must setup pricing to that country against your account - if pricing is not setup the system will return a -109 status and messages will not be processes.  Contact us if you are getting this status.

MutlipartPart/Form-Data


  1. file element content 
    file_content  value is byte array of base64 encoded image data
    fie_content.Header.ContentType = MIME image content type eg "image/jpg"
    file_content.Header.ContentDisposition = FileName = [your file name], Name = "MMSMedia" 
  2. string element content
    Value is JSON string  per the structure defined below;   The name given to this element can either be "" or ''jsonstring"


Raw - application/json

Send same Json model as required for Multipart but as content Raw - application/json


Json Data Model for Both Content types


Name
Meaning
Notes
usernameaccount username
passwordaccount password
SubjectSubject Text contentmax 64 characters - will be truncated if longer
textBody text content of the message
senderFrom address for messageCan only be either; up to 11 characters alpha or a leased MMS long number
recipientsList of recipientlist of recipients to send the message to -  max 50 per request
validitytime period before MMS that is not delivery will keep trying to delivery for in format  dd:hh:mmeg  "00:03:00"  being 3 hours.
scheduledDate time format dd/MM/yyyy HH:mm:ss zzz   eg "01/10/2018 00:02:00 -10:00",where zzz is time zone offset  -10:00    10 hours in front of UTC
ImageDatabase64 encoded image data - Only populate when sending using Raw - application/jsonbase64 encoded image data
FilenameFilename including ext. - Only populate when sending using Raw - application/jsonname of file - with no directories 
FileTypeMIME image content Type - Only populate when sending using Raw - application/jsoneg "image/png"
countryCode

2 digit standard country code - eg Australia = "AU"

Optional - if left bland recipient numbers must be in international format or they will fail our number validation. 

To send with local prefix code only you must specify the countryCode


recipientsList of recipients - can be in either local or international format - if using local format you must specify the CountryCodelist of recipients to send the message to -  max 50


...