Merge an Excel Workbook into Another Workbook
Contents
[
Hide
]
This REST API merges an Excel workbook into another workbook.
REST API
| API | Type | Description | Swagger Link |
|---|---|---|---|
| /cells/{name}/merge | POST | Merge Excel workbooks | PostWorkbooksMerge |
The OpenAPI Specification defines a publicly accessible programming interface and lets the API carry out REST interactions directly from a web browser.
Query Parameter
| Parameter Name | Type | Description |
|---|---|---|
| folder | string | Folder containing the original workbook. |
| storageName | string | Name of the storage. |
| mergeWith | string | Name of the workbook to be merged into the target workbook. |
How to merge two workbooks (cURL)
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL, including the required authentication header.
Error Handling
| HTTP Status | Description |
|---|---|
| 400 | Bad request – missing or invalid parameters. |
| 401 | Unauthorized – invalid or missing access token. |
| 404 | Not found – the specified workbook does not exist. |
| 500 | Internal server error – unexpected condition on the server. |
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK abstracts 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: