Allows you to create Attachment on Account
PUT {{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":"724cdff5-bcd1-4c5c-977e-e864c24258e0","Status":"OK","ProviderName":"Xero API Partner","DateTimeUTC":"/Date(1550856817769)/","Attachments":[{"AttachmentID":"ab95b276-9dce-4925-9077-439818ba270f","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}]}