Convert a Spreadsheet Range data to a CSV file.

Convert a range data from a local spreadsheet/Excel file to a CSV file.

Convert Range to CSV API

PUT http://api.aspose.cloud/v4.0/cells/convert/range/csv

Request Parameters:

Parameter Name Type Path/Query String/HTTPBody Description
Spreadsheet File FormData Upload the spreadsheet file.
worksheet String Query The worksheet name of Spreadsheet/Excel
range String Query Specify the cell area (e.g., A1:C10).
outPath String Query (Optional) The folder path where the workbook will be stored. Default is null.
outStorageName String Query Name of the output file storage.
fontsLocation String Query Specify custom fonts if required.
region String Query Defines the spreadsheet region setting.
password String Query Password required to open 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 Convert Chart to Csv API?

  • No need for cloud storage, reducing the burden on cloud resources.
  • Development can be quickly completed through the existing SDK.

How to Use the Convert Chart to Csv API with SDKs?

OpenAPI Specification

The OpenAPI Specification outlines a publicly accessible API, enabling REST interactions directly from a web browser.

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 convert a range data to a csv file with short code. Explore the complete list of Aspose.Cells Cloud SDKs in our GitHub repository.

The following code examples illustrate how to call Aspose.Cells web services using various SDKs: