Allows you to create an Attachment on BankTransaction by Filename

PUT {{baseUrl}}/BankTransactions/:BankTransactionID/Attachments/:FileName

Request Body

["<", "b", "y", "t", "e", ">"]

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;572ad2fe-8c23-45aa-82f9-864485327685&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1551286166630)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;4508a692-e52c-4ad8-a138-2f13e22bf57b&quot;,&quot;FileName&quot;:&quot;sample5.jpg&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/BankTransactions/db54aab0-ad40-4ced-bcff-0940ba20db2c/Attachments/sample5.jpg&quot;,&quot;MimeType&quot;:&quot;image/jpg&quot;,&quot;ContentLength&quot;:2878711}]}