# Retrieve Patch Scan Status Report **Deprecating soon** Retrieves the patch scan status report for all managed systems. **This API endpoint is deprecating soon** ## Endpoint `GET /dcapi/patch/reports/scan` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/patch/reports/scan` ### Scope `PatchMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/patch/reports/scan \ --header 'Authorization: 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 scan status report 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 Scan status report data ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": 1, "messageResponse": [ { "OperatingSystem": "Red Hat Enterprise Linux 8 (x86_64)", "LastScanStatus": "Scanning Completed", "Owner": "--", "AgentVersion": "10.0.337.L", "LastContactedTimeWithDs": "--", "RemoteOffice": "localOfficeOne", "LastBootTime": "Dec 14, 2015 10:44 AM", "LastScan": "Mar 3, 2025 06:26 PM", "AgentStatus": "Installed Successfully", "Language": "Multilingual", "Remarks": "Scanning completed successfully", "LastContactTime": "Mar 3, 2025 06:26 PM", "AgentInstalledDate": "Mar 3, 2025 06:26 PM", "AgentInstalledDirectory": "C:\\Program Files (x86)\\DesktopCentral_Agent\\", "SearchTag": "--", "Notes": "--", "OwnerEmail": "--", "DeviceFriendlyName": "LinuxMachine16", "Health": "Highly Vulnerable", "OsPlatform": "Linux", "LastSuccessfulScan": "Mar 3, 2025 06:26 PM", "MacAddress": "d6:57:b1:a0:54", "LoggedOnUsers": "Browser Security Manager", "ComputerName": "LinuxMachine16", "ServicePack": "--", "IpAddress": "153.97.180.148", "Domain": "linuxosgroup", "Location": "--" } ], "totalPages": 1, "Links": { "next": null, "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 **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.