Merge spreadsheets
Excel API : MergeSpreadsheets
Merge local spreadsheet files into a specified format file.
Interface Details
Endpoint
PUT http://api.aspose.cloud/v4.0/cells/merge/spreadsheet
Function Description
This method combines multiple spreadsheet files from the local file system into a single output file in the specified format (e.g., XLSX, CSV, PDF).All input files must be accessible and in a supported format for the merge operation to succeed.The merged content is processed cloudly, without requiring cloud storage.Ensure proper file permissions are granted for reading the source files and writing the output file.If any of the files cannot be accessed or an error occurs during the merging process, an appropriate exception will be thrown.The final output format can be configured based on available conversion and export capabilities.
The request parameters of mergeSpreadsheets API are:
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
Spreadsheet | File | FormData | Upload spreadsheet file. |
outFormat | String | Query | The out file format. |
mergeInOneSheet | Boolean | Query | Whether to combine all data into a single worksheet. |
outPath | String | Query | (Optional) The folder path where the workbook is stored. The default is null. |
outStorageName | String | Query | Output file Storage Name. |
fontsLocation | String | Query | Use Custom fonts. |
regoin | String | Query | The spreadsheet region setting. |
password | String | Query | The password for opening spreadsheet file. |
Response Description
{
File
}
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
Excel API SDK
Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: