I have implemented an java microservice which updates the attachment of an event using the REST API: Cumulocity - OpenAPI
Technicaly it is working. I have an issue with the file name. For example, i am uploading a file named image.png. this is working without an issue but the filename different contains the event number, for example 6552800.txt. The content is correct when i rename it back to .png it will be shown. My question is:
How do i use the PUT on this REST endpoint so that i can also define the file name? With the POST (Cumulocity - OpenAPI) it is working by using multi-part/form-data and defining file as paramete. But here i can’t update existing attachments…