Create Presentation with Java REST API

Follow this article to create presentation with Java REST API. You will learn how to make a PowerPoint presentation with Java based API using a Java-based SDK. It will share details so you can view the information on the newly created PPT/PPTX file and download it if required.

Prerequisite

Steps to Create PowerPoint with Java RESTful Service

  1. Create an object of the SlidesApi and set the client ID and secret for creating a presentation
  2. Call the CreatePresentation() method providing the presentation name
  3. Display information from the response object returned by the API call
  4. Download the newly created presentation

These steps describe how to create a PowerPoint presentation with Java RESTful Service. Create the SlidesApi object by setting the client ID and secret and call the CreatePresentation() method to create an empty PowerPoint presentation in the Cloud storage. Display information of the new file created by the API using the response object and download the file to the local disk if required.

Code for Online PowerPoint Maker with Java REST Interface

This code demonstrates how to make PPT with Java REST API by setting the new presentation name as PPT or PPTX according to your requirements. If you want to create a presentation in a particular folder in the Cloud storage, pass the folder and storage name. You can also set a password for the newly created presentation by providing passwords while calling the CreatePresentation method.

This article has taught us creating a PPT maker with Java REST API. If you want to merge presentations, refer to the article on Merge presentations with Java REST API.

 English