# Retrieve System Health Report Retrieves the system health report based on patch management metrics. ## Endpoint `GET /dcapi/patch/reports/systemHealth` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/reports/systemHealth ### Scope `DesktopCentralCloud.PatchMgmt.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Query Parameters - **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 - **branchOffice** (`string`, optional): Branch office name filter - **platform** (`string`, optional): 1: Windows, 2: Mac, 3: Linux (comma-separated) - **domain** (`string`, optional): Domain name filter - **health** (`string`, optional): 0: Unknown — patch status is not available, 1: Healthy — system is up-to-date, 2: Vulnerable — system has missing patches, 3: Highly Vulnerable — system has critical or high-risk missing patches - **language** (`string`, optional): Language filter (comma-separated) ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/patch/reports/systemHealth \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` - `JSON Object` - **Links** (`JSON Object`): Pagination links for next and previous pages - **messageResponse** (`JSON Array`): Array of system health 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 ### HTTP Code 500 Response body: `application/json` - `JSON Object` - **error_code** (`string`): Error code: INTERNAL_ERROR for server-side failures - **error_description** (`string`): Localized error description: dc.rest.api_internal_error ### Possible Response Codes - **200** (`HTTP code`) - **500** (`HTTP code`) ### Sample Response: HTTP 200 System health report ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": 2, "messageResponse": [ { "OperatingSystem": "Windows 7 Professional Edition (x64)", "Owner": "--", "TotalPatches": "11", "Important": "0", "Critical": "0", "LastPatchedTime": "--", "LastContactedTimeWithDs": "--", "RemoteOffice": "Default Remote Office", "TotalBiosPatches": "0", "LastBootTime": "Dec 14, 2015 10:44 AM", "LastScan": "Mar 3, 2025 06:21 PM", "Language": "Multilingual", "Moderate": "0", "MissingOsPatches": "0", "Remarks": "--", "LastContactTime": "Mar 3, 2025 06:20 PM", "MissingDriverPatches": "0", "InstalledTpPatches": "9", "TotalDriverPatches": "0", "InstalledBiosPatches": "0", "SearchTag": "--", "Notes": "--", "OwnerEmail": "--", "DeviceFriendlyName": "WinMachine4", "Health": "Healthy", "InstalledDriverPatches": "0", "OsPlatform": "Windows", "TotalOsPatches": "2", "LastSuccessfulScan": "Mar 3, 2025 06:21 PM", "MacAddress": "d5:63:b0:a2:62", "TotalTpPatches": "9", "LoggedOnUsers": "Browser Security Manager", "MissingBiosPatches": "0", "TimeZone": "GMT-8:0", "Low": "0", "ComputerName": "WinMachine4", "ServicePack": "Windows 7 SP1 (x64)", "IpAddress": "252.148.93.191", "Domain": "ZOHOCORP", "InstalledOsPatches": "2", "Shutdown/restartRemarks": "--", "Location": "--", "MissingTpPatches": "0" }, { "OperatingSystem": "Mac OS X - Mojave", "Owner": "--", "TotalPatches": "12", "Important": "3", "Critical": "1", "LastPatchedTime": "--", "LastContactedTimeWithDs": "--", "RemoteOffice": "Default Remote Office", "TotalBiosPatches": "0", "LastBootTime": "Dec 14, 2015 10:44 AM", "LastScan": "Mar 3, 2025 06:21 PM", "Language": "Multilingual", "Moderate": "0", "MissingOsPatches": "0", "Remarks": "--", "LastContactTime": "Mar 3, 2025 06:20 PM", "MissingDriverPatches": "0", "InstalledTpPatches": "5", "TotalDriverPatches": "0", "InstalledBiosPatches": "0", "SearchTag": "--", "Notes": "--", "OwnerEmail": "--", "DeviceFriendlyName": "MacMachine1", "Health": "Highly Vulnerable", "InstalledDriverPatches": "0", "OsPlatform": "Mac", "TotalOsPatches": "0", "LastSuccessfulScan": "Mar 3, 2025 06:21 PM", "MacAddress": "d5:07:b3:a0:26", "TotalTpPatches": "12", "LoggedOnUsers": "Administrator", "MissingBiosPatches": "0", "TimeZone": "GMT-8:0", "Low": "0", "ComputerName": "MacMachine1", "ServicePack": "Mac OS X - Mojave 10.14.1", "IpAddress": "207.157.88.219", "Domain": "ZOHOCORP", "InstalledOsPatches": "0", "Shutdown/restartRemarks": "--", "Location": "--", "MissingTpPatches": "7" } ], "totalPages": 2, "Links": { "next": "/dcapi/patch/reports/systemHealth?page=2&pageLimit=25", "prev": null }, "status": "success" } ``` ### Sample Response: HTTP 500 Server-side error ```json { "error_description": "dc.rest.api_internal_error", "error_code": "INTERNAL_ERROR" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.