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
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant | |
Content-Type | string |
RESPONSES
status: OK
{"Id":"aeca1ea8-8fd9-4757-96a6-397dc4957a69","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552686602761)/","Attachments":[{"AttachmentID":"e02a84f6-b83a-4983-b3b9-35cd8880c7bc","FileName":"HelloWorld.jpg","Url":"https://api.xero.com/api.xro/2.0/Receipts/a44fd147-af4e-4fe8-a09a-55332df74162/Attachments/HelloWorld.jpg","MimeType":"image/jpg","ContentLength":2878711}]}