Export Workbook

You can export workbooks to the following formats: XLS, XLSX, XLSB, CSV, TSV, XLSM, ODS, TXT, PDF, OTS, XPS, DIF, PNG, JPEG, BMP, SVG, TIFF, EMF, NUMBERS, FODS.

REST API

API Method Description Swagger Link
/cells/export POST Export Excel objects from the request body to a chosen format PostExport

The OpenAPI Specification defines a publicly accessible programming interface, allowing you to perform REST interactions directly from a web browser.

cURL Example

You can use the cURL command‑line tool to call the Aspose.Cells Cloud service.

Request

curl -X POST "https://api.aspose.cloud/v3.0/cells/export?objectType=workbook&format=tiff" \
     -H "accept: multipart/form-data" \
     -H "Content-Type: multipart/form-data" \
     -H "x-aspose-client: Containerize.Swagger" \
     -d '{"File":{}}'

Response

{
    "Files": [
        {
            "Filename": "Book1_xlsx.tif",
            "FileSize": 274022,
            "FileContent": "-----Base64String--------"
        },
        {
            "Filename": "myDocument_xlsx.tif",
            "FileSize": 348126,
            "FileContent": "-----Base64String--------"
        }
    ]
}

Cloud SDK Family

Using an SDK speeds up development by handling low‑level details so you can focus on business logic. A complete list of Aspose.Cells Cloud SDKs is available in the GitHub repository.

The following code examples demonstrate how to call the Aspose.Cells web service with various SDKs: