AsposeCellsCloud-CellsApi
view release on metacpan or search on metacpan
docs/api/AddWorksheetToSpreadsheet.md view on Meta::CPAN
# **Spreadsheet Cloud API: addWorksheetToSpreadsheet**
The Web API enables users to add a new worksheet to a workbook, specifying the worksheet's type, position, and name. This function provides flexibility in managing workbook structure by allowing detailed control over worksheet addition.
## **Quick Start**
- **Base URL**: `http://api.aspose.cloud/v4.0`
- **Authentication Method**: `JWT (OAuth2, application)` **Token URL**: `https://api.aspose.cloud/connect/token`
- **Example**
## **Interface Details**
### **Endpoint**
```
PUT http://api.aspose.cloud/v4.0/cells/spreadsheet/add/worksheet
```
### **Function Description**
By using the AddWorksheet API, you can dynamically manage the structure of your workbook, adding new worksheets with specific types, positions, and names, thereby enhancing your productivity and control over spreadsheet management.## **Error Handling...
### The request parameters of **addWorksheetToSpreadsheet** API are:
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
| :- | :- | :- |:- |
|Spreadsheet|File|FormData|Upload spreadsheet file.|
|sheetType|String|Query|Specifies the name of the new worksheet.If not provided, a default name will be assigned.|
|position|Integer|Query|Specifies the position at which the new worksheet should be inserted.If not provided, the worksheet will be added at the end of the workbook.|
|sheetName|String|Query|Specifies the type of worksheet to be added.If not provided, a default worksheet type will be used.|
|outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.|
|outStorageName|String|Query|Output file Storage Name.|
|region|String|Query|The spreadsheet region setting.|
|password|String|Query|The password for opening spreadsheet file.|
### **Response Description**
```json
{
File
}
```
## OpenAPI Specification
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/ManagementController/AddWorksheetToSpreadsheet) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
[[Back to API list]](../DeveloperGuide.md#api-reference)
[[Back to README]](../../README.md)
( run in 1.269 second using v1.01-cache-2.11-cpan-39bf76dae61 )