Merge one spreadsheet into another
Contents
[
Hide
]
Combine a spreadsheet file stored in a cloud storage into another spreadsheet, and you can specify the format and location of the data output.
Merge Remote Spreadsheet API
PUT http://api.aspose.cloud/v4.0/cells/{name}/merge/spreadsheet
Request Parameters:
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
name | String | Path | The name of the workbook file to be merged. |
mergedSpreadsheet | String | Query | The list of spreadsheet files to merge. |
folder | String | Query | The folder path where the workbook is stored. |
outFormat | String | Query | The output file format (e.g., XLSX, PDF). |
mergeInOneSheet | Boolean | Query | Whether to combine all data into a single worksheet. |
storageName | String | Query | (Optional) The name of the storage if using custom cloud storage. Defaults to default storage if omitted. |
outPath | String | Query | (Optional) The folder path for the merged workbook. Defaults to null. |
outStorageName | String | Query | The name of the storage for the output file. |
fontsLocation | String | Query | Custom font location. |
region | String | Query | The spreadsheet region setting. |
password | String | Query | The password for accessing 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.
Where should we use the Merge Remote Spreadsheet API?
- When you need to merge multiple data files together in cloud storage.
Why should you use the Merge Remote Spreadsheet API?
- Cloud storage files do not need to be downloaded, and can be merged directly in the cloud.
- Development can be quickly completed through the existing SDK.
How to Use the Merge Remote Spreadsheet API with SDKs
Merge Remote Spreadsheet API Specification
The Merge Remote Spreadsheet API Specification provides a publicly accessible programming interface for executing REST interactions directly from a web browser.
Excel API SDK
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 merge a spreadsheet into another spreadsheet with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs. The following code examples demonstrate how to interact with Aspose.Cells web services using various SDKs: