Multi‑Source Data Integration Excel Platform – Aspose.Cells Cloud Automated Data Import and Transformation API.

Core Features

Multi-Format Data Support

  • CSV Data Import: Supports various delimiters and automatically detects encoding.
  • JSON Data Handling: Flattens complex JSON structures into Excel tables.
  • XML File Conversion: Maps node data to Excel row and column structure.

Advanced Data Processing Capabilities

  • Intelligent Field Mapping: Automatically matches source fields to target columns.
  • Data Transformation Rules: Supports data‑type conversion and formatting.
  • Batch Processing Support: Allows importing multiple data files simultaneously.

Import Data into Spreadsheet API Description

Web API

PUT https://api.aspose.cloud/v4.0/cells/import/data

Request Parameters

Parameter Name Type Location Description
datafile File FormData The data file (CSV, JSON, or XML) to be imported.
spreadsheet File FormData The target workbook that will receive the imported data.
worksheet string Query Name of the worksheet where data will be placed.
startCell string Query Top‑left cell (e.g., A1) that marks the start position for the import.
insert bool Query true to insert rows; false to overwrite existing data.
convertNumericData bool Query true to convert numeric strings to numbers during import.
splitter string Query Single‑character CSV delimiter (default is ,).
outPath string Query (optional) Folder path where the updated workbook will be stored.
outStorageName string Query (optional) Name of the storage location for the output file.
fontsLocation string Query (optional) Path to a custom fonts folder, if required.
region string Query (optional) Spreadsheet region configuration (e.g., en-US).
password string Query (optional) Password for opening a protected workbook.

Response

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

Error Codes

Code Message When It Occurs
400 Bad Request Invalid API URI or malformed request parameters.
401 Unauthorized Missing/invalid access token or client credentials.
404 Not Found The specified spreadsheet cannot be accessed.
500 Internal Server Error An unexpected server‑side problem while processing.

Why You Should Use This API

  • Efficient Data Loading – Import large volumes of data without first creating intermediate files.
  • Developer‑Friendly – SDKs are available for many languages, reducing development effort and ensuring consistent implementations.
  • Cost‑Effective – The API processes data in‑memory, minimizing storage usage and associated costs.

How to Use the Import Data into Spreadsheet API with SDKs

Import Data into Spreadsheet API Specification

The Import Data into Spreadsheet API Specification provides a publicly accessible programming interface, allowing REST interactions directly from your web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away low‑level details, allowing you to import data into a spreadsheet worksheet 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 invoke Aspose.Cells web services using various SDKs: