# MailMessageAttachments: Exact Online Mail Message Attachments
Mail message attachments, partitioned per Exact Online subscription.
## Documentation:
Each Exact Online subscription can have a number of mailboxes. When you query any division, you will retrieve all mail message attachments in the mailboxes on that subscription. A list of duplicate mail message attachments will be retrieved when you query multiple divisions within the same Exact Online subscription.
- Catalog: `ExactOnlineREST`
- Schema: `Mailbox`
- Primary Keys: `ID`
- Label: Mail Message Attachments
The data in this table is partitioned per value of the `Division` column.
Can retrieve data and change data using insert, update and delete.
## Table Columns
The columns of the table `MailMessageAttachments` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `Attachment` | `blob` | Attachment | ☐ | For performance reasons Attachment is Write-Only. The blob can be downloaded using the supplied Url. |
| `AttachmentFileExtension` | `varchar2` | Attachment File Extension | ☐ | File extension of attachment. |
| `AttachmentFileName` | `varchar2` | Attachment File Name | ☐ | File name of attachment. |
| `AttachmentFromUrl` | `blob` | Attachment from URL | ☐ | The binary attachment retrieved by downloading the URL. This is different from the Attachment, which is stored directly in the table. |
| `Division` | `int32` | Division ID | ☑ | Unique number of the Exact Online division. |
| `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. |
| `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. |
| `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. |
| `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. |
| `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. |
| `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. |
| `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. |
| `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. |
| `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. |
| `FileSize` | `int64` | File Size | ☑ | File size. |
| `ID` | `guid` | ID | ☑ | Primary key. |
| `MailMessageID` | `guid` | Mail Message ID | ☑ | Reference to Mail message. |
| `MailMessageOrigin` | `int32` | Mail Message Origin | ☑ | Indicates the SourceEntry of Scanning service. |
| `RecipientAccount` | `guid` | Recipient Account | ☐ | Reference to recipient account. |
| `SenderAccount` | `guid` | Sender Account | ☐ | Reference to sender account. |
| `Type` | `int32` | Type | ☑ | Type of mail message attachment. |
| `TypeDescription` | `varchar2`(240) | Type Description | ☐ | Description of Type. |
| `Url` | `varchar2` | URL | ☐ | To get the file in its original format (xml, jpg, pdf, etc.) append &Download=1 to the url. |