Allows you to update Attachment on expense claim receipts by file name

POST {{baseUrl}}/Receipts/:ReceiptID/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;aeca1ea8-8fd9-4757-96a6-397dc4957a69&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552686602761)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;e02a84f6-b83a-4983-b3b9-35cd8880c7bc&quot;,&quot;FileName&quot;:&quot;HelloWorld.jpg&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/Receipts/a44fd147-af4e-4fe8-a09a-55332df74162/Attachments/HelloWorld.jpg&quot;,&quot;MimeType&quot;:&quot;image/jpg&quot;,&quot;ContentLength&quot;:2878711}]}