JDBC Driver for Xero

Build 23.0.8839

ListAttachments

Retrieves a list of attachments that have been uploaded against a document in Xero.

Input

Name Type Required Description
Table String True The table containing the document to retrieve a list of attachments from.

The allowed values are Invoices, Receipts, CreditNotes, BankTransactions, BankTransfers, Contacts, Accounts, ManualJournals.

ObjectId String False The unique ID of the document to retrieve a list of attachments from.
TenantId String False The ID of the tenant to query instead of the connection tenant

Result Set Columns

Name Type Description
AttachmentId String The ID of the attachment.
FileName String The file name of the attachment.
URL String The URL of the attachment.
MimeType String The Internet media type of the attachment.
ContentLength String The size of the attachment in bytes.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839