Attachment
A complex data type that describes the object in the attachment and contains the attachment as binary data.
Elements
ContentId
String. Maps to the attachmentâs MIME header. ContentId is required.
ContentType
String. The type of file to upload, such as binary.
ContentLength
Long. Optional. The length of the object.
ContentEncoding
String. Optional. The encoding the object uses. Cannot exceed 10 characters.
Locale
String. Optional. The object locale.
ContentData
Base64Binary. Optional. The attachment as binary data. Use ContentData to embed the file in the request.