Convert Excel to PPTX using Aspose.Cells Cloud API v3.0

This REST API converts a spreadsheet file to PPTX format.

PostConvertWorkbookToPptx API

POST https://api.aspose.cloud/v3.0/cells/convert/pptx

Security and Authentication

The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.

Query Parameters

Parameter Name Type Description
password string Password required to open the Excel workbook.
storageName string Name of the storage where the source file is located.
checkExcelRestriction bool Indicates whether to enforce Excel file restrictions when modifying cell‑related objects.

Request Body Parameter

Parameter Name Type Description
datafile data file The Excel file included in the first part of the multipart request body.

Example multipart request body (simplified):

--boundary
Content-Disposition: form-data; name="File"; filename="input.xlsx"
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

<binary content of input.xlsx>
--boundary
Content-Disposition: form-data; name="password"

MyPwd
--boundary--

Response

The API returns a FileInfo object that contains the generated pptx file.

Field Type Description
Filename string Name of the pptx file (e.g., example.pptx).
FileSize int Size of the file in bytes.
FileContent string Base64‑encoded content of the pptx file.

FileInfo

HTTP Status Codes

Code Meaning Description
200 OK Filter applied successfully; response contains operation details.
400 Bad Request Missing or invalid parameters (e.g., unsupported file type).
401 Unauthorized Invalid or missing JWT token.
413 Payload Too Large Uploaded file exceeds size limit.
500 Internal Server Error Unexpected server error.

Notes: The endpoint supports common Excel formats (.xlsx, .xls, .xlsm). The maximum file size is limited to 50 MB. Conversion may be restricted for workbooks containing macros or protected sheets unless the appropriate parameters are supplied.

How to Use the PostConvertWorkbookToPptx API with SDKs

PostConvertWorkbookToPptx API Specification

The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The example below shows how to call the Cloud API with cURL.

Use Aspose.Cells Cloud SDKs

Using an SDK is the fastest way to develop. An SDK abstracts low‑level details so you can focus on your project. See the [GitHub repository](https://github.com/aspose-cells-cloud" rel=“noopener noreferrer”) for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to call Aspose.Cells web services using various SDKs:

Other APIs that Implement This Function