Get MinDataRow from Excel Worksheet – Aspose.Cells Cloud API
The Get MinDataRow endpoint of Aspose.Cells Cloud API v3.0 returns the index of the first row that contains data in a specified worksheet. The operation requires a valid access token (Bearer authentication) and the query parameter cellOrMethodName set to mindatarow.
API version: 3.0
cURL Example
The request uses the HTTP GET method. Replace the placeholders {fileName} and {sheetName} with the actual workbook and worksheet names.
curl -X GET "https://api.aspose.cloud/v3.0/cells/{fileName}/worksheets/{sheetName}/cells/mindatarow?cellOrMethodName=mindatarow" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Request Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
fileName |
Path | string | Yes | Name of the Excel workbook (including extension). |
sheetName |
Path | string | Yes | Name of the worksheet within the workbook. |
cellOrMethodName |
Query | string | Yes | Must be set to mindatarow to invoke this operation. |
Response Example
{
"MinDataRow": 5
}
HTTP Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | Filter applied successfully; response contains operation details. |
| 400 | Bad Request | Missing or invalid parameters (e.g., unsupported file type). |
| 401 | Unauthorized | Invalid or missing JWT token. |
| 413 | Payload Too Large | Uploaded file exceeds size limit. |
| 500 | Internal Server Error | Unexpected server error. |
SDK Examples
Using an SDK is the fastest way to develop. An SDK handles low‑level details so you can focus on your project logic. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs:
See also