Accounting
Retrieves any attachments from a specific bank transactions
get/BankTransactions/{BankTransactionID}/Attachments
Request
- Base URLhttps://api.xero.com/api.xro/2.0
- URLhttps://api.xero.com/api.xro/2.0/BankTransactions/{BankTransactionID}/Attachments
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: accounting.attachments, accounting.attachments.read
Path parameters
BankTransactionIDstring uuid required
Xero generated unique identifier for a bank transaction
Response
Success - return response of type Attachments array with 0 to n Attachment
Example response
{
"Attachments": [
{
"AttachmentID": "00000000-0000-0000-0000-000000000000",
"FileName": "xero-dev.jpg",
"Url": "https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg",
"MimeType": "image/jpg"
}
]
}Changes
No recorded changes to this operation across all 62 revisions of this API.