Passa al contenuto principale

publishOnWeb

Publishes static content to the Contactsend public repository.

publishOnWeb enables you to:

  • Provide linked content to use, for example, with Tell-A-Friend activities
  • Generate online version-related results by URL
  • Create a static, non-modifiable archive of sent messages

If the overwrite flag is set to false and you attempt to write content with the same name to the Contactlab public repository, an error is returned.

InputTypeDescription
tokenAuthTokenAuthorization token.
campaignIdentifierxs:intCampaign identifier.
testCampaignIdentifierxs:intTEST Campaign identifier.
fileNamexs:stringFile name for the uploaded resource.
contentxs:base64BinaryBinary content of the uploaded resource.
overwritexs:booleanOverwrite an existing resource, or generate the next ordinal-based file name.
OutputTypeDescription
xs:stringThe URL where the uploaded resource has been published.