# Retrieve Legacy Windows End-of-Life Systems Retrieves systems running legacy Windows versions (e.g., Windows 7, Server 2008) that have reached end-of-life. ## Endpoints `GET /dcapi/patch/reports/WinLegacyEoLSystemsView` ## Request URL ```text https://{server-hostname}:8383/dcapi/patch/reports/WinLegacyEoLSystemsView ``` ## Scope ```text PatchMgmt.READ ``` ## Header ```text Authorization: d92d4xxxxxxxxxxxxx15f52 ``` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/patch/reports/WinLegacyEoLSystemsView \ --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 legacy Windows EoL system 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 Legacy Windows EoL systems ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": 2, "messageResponse": [ { "LoggedOnUsers": "Administrator", "OperatingSystem": "Windows XP Professional", "EsuActivationStatus": "Not Applicable", "Owner": "--", "DeviceFriendlyName": "WinMachine10", "ComputerName": "WinMachine10", "ServicePack": "Windows XP x64 Edition Service Pack 2", "IpAddress": "3.59.54.70", "Domain": "linuxosgroup", "RemoteOffice": "localOfficeOne" }, { "LoggedOnUsers": "Browser Security Manager", "OperatingSystem": "Windows 7 Professional Edition (x64)", "EsuActivationStatus": "Not Applicable", "Owner": "--", "DeviceFriendlyName": "WinMachine4", "ComputerName": "WinMachine4", "ServicePack": "Windows 7 SP1 (x64)", "IpAddress": "252.148.93.191", "Domain": "ZOHOCORP", "RemoteOffice": "Default Remote Office" } ], "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" } ``` **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.