Allows you to create Attachment on Account

PUT {{baseUrl}}/Accounts/:AccountID/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;724cdff5-bcd1-4c5c-977e-e864c24258e0&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1550856817769)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;ab95b276-9dce-4925-9077-439818ba270f&quot;,&quot;FileName&quot;:&quot;sample5.jpg&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg&quot;,&quot;MimeType&quot;:&quot;image/jpg&quot;,&quot;ContentLength&quot;:2878711}]}