PUT http://api.aspose.cloud/v4.0/cells/spreadsheet/worksheets
Function Description
This endpoint accesses the local spreadsheet application (e.g., Excel) via interop or a local API,collects the name and type (e.g., standard, chart, macro) of every worksheet,and returns the collection as a structured JSON array. This is typically used to populatea worksheet selector UI or to audit spreadsheet contents.## Error Handling- 400 Bad Request: Invalid url.- 401 Unauthorized: Authentication has failed, or no credentials were provided.- 404 Not Found: Source file not accessible.- 500 Server Error The spreadsheet has encountered an anomaly in obtaining data.
The request parameters of getWorksheetsWithLocalSpreadsheet API are:
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
| :- | :- | :- |:- |
|Spreadsheet|File|FormData|Upload spreadsheet file.|
|region|String|Query|The spreadsheet region setting.|
|password|String|Query|The password for opening spreadsheet file.|
Response Description
{
String
}
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.