Aspose.Cells Cloud – Convert Excel Workbook to PDF, CSV, HTML, and More (GET /cells/{name})

This REST API retrieves an Excel workbook in a different format.

REST API

API Type Description Swagger Link
/cells/{name} GET Exports a workbook to another format. GetWorkBook

Query Parameters

Parameter Name Type Description Default
format string Target file format (e.g., CSV, XLS, HTML, MHTML, ODS, PDF, XML, TXT, TIFF, XLSB, XLSM, XLSX, XLTM, XLTX, XPS, PNG, JPG, GIF, EMF, BMP, MD, Numbers, WMF, SVG, etc.).
password string Password required to open the Excel file.
isAutoFit bool Automatically fits rows and columns width. false
onlySaveTable bool When true, only table data is saved. Accepts true or false. false
outPath string Path to save the result. For a single file, include the filename and extension; for multiple files, specify only the folder.
outStorageName string Name of the storage where the output file will be saved.
checkExcelRestriction bool Checks Excel restrictions when modifying cells or related objects. false
region string Regional settings applied to the workbook.
pageWideFitOnPerSheet bool Fits the page width to each worksheet when converting to PDF. false
pageTallFitOnPerSheet bool Fits the page height to each worksheet when converting to PDF. false
onePagePerSheet bool Generates one PDF page per worksheet. false
folder string Folder path of the original workbook.
storageName string Name of the storage where the source file is located.

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

Example Request

You can use the cURL command‑line tool to access Aspose.Cells web services. The following example shows a correct GET request with the required authorization header.

Response

Success (200) – The API returns the converted file in the requested format.

HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename="book1.pdf"
Content-Length: 123456

(binary PDF data)

Error (4xx/5xx) – Example of a JSON error object when the source file is not found.

{
  "error": {
    "code": "FileNotFound",
    "message": "The file 'book1.xlsx' does not exist."
  }
}

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 tasks. Please check 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:

See Also