uploadMediaContent

Uploads media content to the Contactsend static repository, to be used for configured Contactsend activities.

If the overwrite flag is set to false and you attempt to write content with the same name to the Contactsend static repository, the API generates and uses the next ordinal-based file name. For example, if the file name in use is originalfile.ext, the API applies the name originalfile-1.ext to the new content.

Input Type Description
token AuthToken Authorization token.
reference xs:int String identifying a subfolder-container in the Contactsend static repository.
fileName xs:string File name for the uploaded resource.
content xs:base64Binary Binary content of the uploaded resource.
overwrite xs:boolean Overwrite an existing resource, or generate the next ordinal-based file name.

Output Type Description
xs:string The URL where the uploaded resource has been published.