Allows you to update Attachments on CreditNote by file name
POST {{baseUrl}}/CreditNotes/:CreditNoteID/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":"27253066-8c4d-4e34-a251-7a749b72de40","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1551828247939)/","Attachments":[{"AttachmentID":"103e49f1-e47c-4b4d-b5e8-77d9d00fa70a","FileName":"HelloWorld.jpg","Url":"https://api.xero.com/api.xro/2.0/CreditNotes/249f15fa-f2a7-4acc-8769-0984103f2225/Attachments/HelloWorld.jpg","MimeType":"image/jpg","ContentLength":2878711}]}