create Bank Transfer Attachment By File Name
PUT {{baseUrl}}/BankTransfers/:BankTransferID/Attachments/:FileName
Request Body
["<", "b", "y", "t", "e", ">"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"b73ba149-76a9-4e7c-a5c6-b9230022f416","Status":"OK","ProviderName":"Xero API Partner","DateTimeUTC":"/Date(1551397998372)/","Attachments":[{"AttachmentID":"9478be4c-c707-48c1-b4a7-83d8eaf442b5","FileName":"sample5.jpg","Url":"https://api.xero.com/api.xro/2.0/BankTransfers/6221458a-ef7a-4d5f-9b1c-1b96ce03833c/Attachments/sample5.jpg","MimeType":"image/jpg","ContentLength":2878711}]}