Allows you to update Attachments on CreditNote by file name

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