Skip to content

Is it possible to attach an actual document (not just an XML data payload) to an outbound Application Message routed to an external HTTP/REST endpoint, for example to send an invoice document to an external shipping broker?

Answer

Yes — convert the document's binary content into a base64-encoded string, and embed that string as a CDATA section within the outgoing XML payload. Since Application Message routing to HTTP transmits XML text rather than raw binary attachments directly, base64-encoding the document and wrapping it in CDATA is the standard way to carry actual file content alongside the rest of the message's structured data.

← Browse Integrations and APIs questions