---
schema_version: "1"
id: d6ac5acef6da6c8e4361582e91229dbf1b245f588719e74992a3e700a1e4e84b
title: Multipart Types (dw::module::Multipart)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.4/dw-multipart-types.md
canonical_url: https://docs.mulesoft.com/dataweave/2.4/dw-multipart-types
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 5465ea703af8f3aae5a01fca910c01cf92580d67c4dba8e725226724682d903c
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
---
product: DataWeave
version: 2.4
---

# Multipart Types (dw::module::Multipart)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Type</th><th>Definition</th><th>Description</th></tr></thead><tbody><tr><td><p>Multipart</p></td><td><div><div><p><code>type Multipart = { preamble?: String, parts: { _?: MultipartPart } }</code></p></div></div></td><td><div><div><p><code>MultiPart</code> type, a data structure for a complete <code>Multipart</code> format. See the output example for the Multipart <code>form</code> function <a href="https://docs.mulesoft.com/dataweave/latest/dw-multipart-functions-form">documentation</a>.</p></div></div></td></tr><tr><td><p>MultipartPart</p></td><td><div><div><p><code>type MultipartPart = { headers?: { "Content-Disposition"?: { name: String, filename?: String }, "Content-Type"?: String }, content: Any }</code></p></div></div></td><td><div><div><p><code>MultipartPart</code> type, a data structure for a part within a <code>MultiPart</code> format. See the output examples for the Multipart <code>field</code> function <a href="https://docs.mulesoft.com/dataweave/latest/dw-multipart-functions-field">documentation</a>.</p></div></div></td></tr></tbody></table>
