GetAttachments
The GetAttachments function supports retrieving the list of attachments for a given document.
Properties
Section titled “Properties”Authentication
Section titled “Authentication”Authentication values used to connect to the Xero server.
Endpoint
Section titled “Endpoint”The name of the parent endpoint (e.g. Receipts, Invoices).
Item id
Section titled “Item id”The guid of the document that that attachment belongs to (e.g. ReceiptID or InvoiceID).
Return options
Section titled “Return options”Select how the data is to be returned.
Possible values are:
- Only the first item.
- The first item or an empty item.
- All the items one by one.
- All of the items at once.
Output
Section titled “Output”Return type of Attachments A list of attachments or a single attachment depending on the selected Return option.
Section titled “Return type of Attachments A list of attachments or a single attachment depending on the selected Return option.”Links