Attachment

Xelion Object
      ↪ Entity
          ↪ Attachment


An attachment object contains binary data.

Fields

Name Type Notes

originalLocation

String

The original location of the attachment. If this value represents a path name then it may be used if the attachment is written to a file. Example: user_manual.pdf .

mimeType

String

The mime type. For example: image/jpg

contentsB64String

String

The contents, Base64 encoded.

hasThumbnail

Boolean

True if attachment has a thumbnail

thumbnailB64String

String

The thumbnail, Base64 encoded.

size

Integer

the size of this attachment. The size is calculated and set when the attachment is written to the database.