DownloadAttachmentDto

Properties

NameTypeDescriptionNotes
Base64FileContentsStringBase64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as text/html you can read the contents directly by converting it to string using utf-8 encoding.[optional]
ContentTypeStringContent type of attachment. Examples are image/png, application/msword, text/csv etc.[optional]
SizeBytesInt64Size in bytes of attachment content[optional]

Examples

  • Prepare the resource
$DownloadAttachmentDto = Initialize-maislurp-client-powershellDownloadAttachmentDto  -Base64FileContents null `
 -ContentType null `
 -SizeBytes null
  • Convert the resource to JSON
$DownloadAttachmentDto | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to ]