Excel to PPTX
Contents
[
Hide
]
This REST API converts a spreadsheet file to PPTX format.
REST API
| API | Type | Description | Swagger Link |
|---|---|---|---|
| /cells/convert/pptx | POST | Convert a spreadsheet to a PPTX file. | PostConvertWorkbookToPptx |
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 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.
Error Handling
| HTTP Code | Meaning | Sample JSON Error Payload |
|---|---|---|
| 400 | Bad Request | { "code": 400, "message": "Invalid request parameters." } |
| 401 | Unauthorized | { "code": 401, "message": "Access token is missing or invalid." } |
| 415 | Unsupported Media Type | { "code": 415, "message": "File format not supported for conversion." } |
| 500 | Internal Server Error | { "code": 500, "message": "An unexpected error occurred." } |
Next Steps
- Save options – Learn how to store the converted PPTX file in a specific folder.
- Batch conversion – Convert multiple workbooks in a single request.
- Rate limits – Review the API usage limits for your account.
Cloud SDK Family
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.