# Retrieve System Patch Compliance Report Retrieves the system compliance report showing patch compliance status per system. ## Endpoint `GET /dcapi/patch/reports/systemCompliance` ## Request ### Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/patch/reports/systemCompliance` ### Scope `DesktopCentralCloud.PatchMgmt.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Query Parameters | Parameter | Type | Required | Description | |---|---|---|---| | pageLimit | integer | Optional | Number of records per page (default 25) | | page | integer | Optional | Page number to retrieve (1-based) | | searchColumn | string | Optional | Column name to search within | | searchValue | string | Optional | Value to search for in the specified column | | platform | string | Optional | 1: Windows, 2: Mac, 3: Linux (comma-separated) | | domain | string | Optional | Domain name filter | | severity | string | Optional | 0: Unrated, 1: Low, 2: Moderate, 3: Important, 4: Critical (comma-separated) | | branchOffice | string | Optional | Branch office name filter | | compliance | string | Optional | Compliance status filter (comma-separated) | | customGroup | string | Optional | Custom group name filter | ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/patch/reports/systemCompliance \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### HTTP 200 Response body: `application/json` | Parameter | Type | Description | |---|---|---| | Links | JSON Object | Pagination links for next and previous pages | | messageResponse | JSON Array | Array of system compliance entries | | metadata | JSON Object | Pagination metadata | | status | string | Operation result: success | | totalPages | string | Total number of pages available | | totalRecords | string | Total number of records matching the query | #### Sample Response: HTTP 200 Paginated system compliance data ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": 1, "messageResponse": [ { "CompliancePercentage": "0%", "OperatingSystem": "Windows 11 Professional Edition (x64)", "ApplicablePatches": "--", "Owner": "--", "ComplianceStatus": "Non-compliant", "OsPlatform": "Windows", "LastPatchedTime": "--", "LastSuccessfulScan": "Mar 3, 2025 06:26 PM", "LastContactedTimeWithDs": "--", "RemoteOffice": "localOfficeOne", "LastBootTime": "Dec 14, 2015 10:44 AM", "LastScan": "Mar 3, 2025 06:26 PM", "LoggedOnUsers": "Browser Security Manager", "LastContactTime": "Mar 3, 2025 06:26 PM", "MissingPatches": "--", "ComputerName": "WinMachine6", "ServicePack": "Windows 11 Version 22H2 (x64)", "InstalledPatches": "--", "IpAddress": "252.0.118.105", "Domain": "linuxosgroup", "SearchTag": "--", "Notes": "--", "OwnerEmail": "--", "Location": "--" } ], "totalPages": 1, "Links": { "next": null, "prev": null }, "status": "success" } ``` ### HTTP 500 Response body: `application/json` | Parameter | Type | Description | |---|---|---| | error_code | string | Error code: INTERNAL_ERROR for server-side failures | | error_description | string | Localized error description: dc.rest.api_internal_error | #### Sample Response: HTTP 500 Server-side error ```json { "error_description": "dc.rest.api_internal_error", "error_code": "INTERNAL_ERROR" } ``` ### Possible Response Codes | Code | Description | |---|---| | 200 | HTTP code | | 500 | HTTP code | ## Rate Limit **Duration:** 1 minute | **Threshold:** 50 | **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.