Convert Excel to PPTX using Aspose.Cells Cloud API v3.0
This REST API converts a spreadsheet file to PPTX format.
REST 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. |
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. |
Response Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Compression succeeded; response contains compressed file 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. |
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 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
- POST /cells/convert/pdf – Converts an Excel file to PDF.
- POST /cells/convert/png – Converts an Excel file to PNG images.
- POST /cells/convert/svg – Converts an Excel file to SVG format.