Skip to main content

AttachmentRequestDto

Request model for Attachment entity.

fileNamestringrequired

The filename including file ending.

Possible values: non-empty

Example: Invoice001.pdf
mimeTypestringrequired

The mimetype/media type of the file

Possible values: non-empty

Example: application/pdf
contentAsBase64EncodedStringstringrequired

The base64-encoded representation of file contents.

Possible values: non-empty

Example: JVBERi0xLjMKJcTl8uXrp...
AttachmentRequestDto
{
"fileName": "Invoice001.pdf",
"mimeType": "application/pdf",
"contentAsBase64EncodedString": "JVBERi0xLjMKJcTl8uXrp..."
}