Attachments
Returns ticket attachment records, including file details, content type, and download URL information.
View-Specific Information
Select
The following queries are processed server-side while other filters are processed client-side within the provider.SELECT * FROM Attachments WHERE TicketId = '123'
SELECT * FROM Attachments WHERE AttachmentId = '123'
Columns
| Name | Type | References | Description |
| AttachmentId [KEY] | Long | The Id of the attachment, automatically assigned when the attachment is created. | |
| TicketId | Integer |
Tickets.Id | The Id of the ticket the attachment belongs to. |
| CommentId | Long | The Id of the comment the attachment belongs to. | |
| FileName | String | The name of the file. | |
| ContentUrl | String | The full URL where the attachment file can be downloaded. | |
| ContentType | String | The content type of the image. | |
| Size | Integer | The size of the image file in bytes. | |
| Inline | Boolean | Indicates whether the attachment is excluded from the attachment list and its URL can be referenced within the comment of a ticket. Default is false. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.
| Name | Type | Description | |
| UpdatedAt | Datetime | The date and time when the attachment was last updated. |