# Fetch the total row count for a CIS detailed report Returns the total row count and export eligibility for a CIS detailed report with the specified filters. Export is allowed only if the row count is within the maximum limit. ## Endpoint `GET /dcapi/scap/compliance/export/rowCount` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/scap/compliance/export/rowCount` ## Scope `DesktopCentralCloud.VulnerabilityMgmt.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Query Parameters - **groupResourceId** `long` *(Optional)* The resource ID of the target custom group - **policyGrpId** `long` *(Optional)* The policy group ID - **profileId** `long` *(Optional)* The profile ID - **compliancePercentage** `string` *(Optional)* Compliance percentage filter - **complianceStatus** `string` *(Optional)* Compliance status filter ## Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/scap/compliance/export/rowCount \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` `JSON Object` - **totalRows** `long` Total number of rows matching the specified filters - **isExportAllowed** `boolean` Whether export is permitted based on the row count limit - **message** `string` Reason message when export is not allowed ### HTTP Code 401 Response Body — `application/json` `JSON Object` - **errorCode** `long` Unauthorized error code: credentials missing, expired, or invalid - **errorMsg** `string` Authentication failure reason ### HTTP Code 429 Response Body — `application/json` `JSON Object` - **errorCode** `long` Rate limit error code returned when the API call reached threshold - **errorMsg** `string` Rate limit exceeded message with retry guidance ## Possible Response Codes - **200** — HTTP code - **401** — HTTP code - **429** — HTTP code ## Sample Response: HTTP 200 ### Row count is within the export limit ```json { "totalRows": 15000, "isExportAllowed": true } ``` ### Row count exceeds the maximum export limit ```json { "totalRows": 4000000, "message": "The total row count exceeds the supported limit, so exporting this report is not possible. Please retry with a different configuration.", "isExportAllowed": false } ``` ### No matching results found for the filters ```json { "totalRows": 0, "message": "No results were found for the selected criteria", "isExportAllowed": false } ``` ## Sample Response: HTTP 401 ### Compliance report is not available for this edition ```json { "errorMessage": "Authentication required", "errorCode": "UAC_UNAUTHORIZED" } ``` ## Sample Response: HTTP 429 ### API call threshold exceeded ```json { "errorMessage": "Rate limit exceeded. Retry after some time", "errorCode": "TOO_MANY_REQUESTS" } ``` ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 250 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.