Allows you to update Attachment on Account by Filename
POST {{baseUrl}}/Accounts/:AccountID/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":"c8d6413a-1da2-4faa-9848-21f60443e906","Status":"OK","ProviderName":"Xero API Partner","DateTimeUTC":"/Date(1550859714477)/","Attachments":[{"AttachmentID":"3fa85f64-5717-4562-b3fc-2c963f66afa6","FileName":"sample5.jpg","Url":"https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg","MimeType":"image/jpg","ContentLength":2878711}]}