Finish Editing and Download a Document in Java

Have you finished editing a document online, and need to download the result? The following API is the counterpart to our Begin Editing API and will bring your project full circle. Once all editing operations have been completed, you can call this function to save and download your updated document.

To get started, you can install the SDK with Maven (Gradle also available) by adding a reference to the repository in pom.xml:


Then, add a reference to the dependency:


Now, you can plug in the editing URL to call the Finish Editing function with the following code:

// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.EditDocumentApi;

And just like that, your document is refreshed and ready for use. If further edits are needed in the future, you will need to go back to the Begin Editing function to create a new temporary URL.

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.