Good morning, I would like to use the save edit API in the onlyOffice Community server APIs. could you please clarify for me the parameters that sream and doc take please?
Example : {
“fileId”:“344”,
“fileExtension”:“docx”,
“downloadUri”:“xxxxxxxxxxxxxxxxxx/Products/Files/HttpHandlers/filehandler.ashx?action=stream&fileid=344&version=3&stream_auth=xxxxxxxxxxxxxxxxxxxxxxxxxx”, “stream”: “”, “doc” :“”
}
response :{
“status”: 1,
“statusCode”: 500,
“error”: {
“message”: “Default constructor not found for type System.IO.Stream”,
“hresult”: -2146233069,
“data”: {}
}
}
Hello,
Thank you for the response, as you can see in the request below I tried
with the parameters “stream”: “N/A” and “doc”: “”
I got the following response:
I am in the process of integrating the doc editor into my application.
I want to make a manual backup of the editable file.
I need the editable file saved with the last modification to convert it to PDF and do my processing.
-but each time I get a blank page, the file does not take into account the modifications made to the file.
Hello, thank you for the efforts made.
It should be noted that the purpose of calling the API is to save the contents of the edit file manually.
If I convert the file to base 64 and call the saveedit API, I will not have the latest modifications.
I will have it if only office (document server) does the automatic saving and in this case I will not need to call saveedit.