Export a Spreadsheet as a Format file

Export a cloud spreadsheet/Excel to another format file.

Export Spreadsheet as Format API

GET http://api.aspose.cloud/v4.0/cells/{name}

Request Parameters:

Parameter Name Type Path/Query String/HTTP Body Description
name String Path (Required) The name of the workbook file to be retrieved.
format String Query (Required) The desired output format (e.g., “Xlsx”, “Pdf”, “Csv”).
folder String Query (Optional) The folder path where the workbook is stored. The default is null.
storageName String Query (Optional) The name of the storage if using custom cloud storage. Use default storage if omitted.
outPath String Query (Optional) The folder path where the workbook will be stored. The default is null.
outStorageName String Query Output file Storage Name.
fontsLocation String Query Use custom fonts.
region String Query The spreadsheet region setting.
password String Query The password for opening the spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Why should you use the Export Spreadsheet as Format API?

  • You can convert cloud files to different formats anytime and anywhere.
  • Development can be quickly completed through the existing SDK.

How to Use the Export Spreadsheet as Format API with SDKs?

Export Spreadsheet as Format API Specification

The Export Spreadsheet as Format API Specification provides a publicly accessible programming interface to perform REST interactions seamlessly.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to export a spreadsheet to a format file with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples illustrate how to interact with Aspose.Cells web services via various SDKs: