# Retrieve List of APD Tasks Retrieves the list of all Automated Patch Deployment (APD) tasks. ## Endpoint `GET /dcapi/patch/reports/apdTasks` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/patch/reports/apdTasks` ### Scope `PatchMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/patch/reports/apdTasks \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP 200 Response body: `application/json` - JSON object - **metadata** (`JSON object`): Pagination metadata - **totalRecords** (`string`): Total number of records matching the query - **messageResponse** (`JSON array`): Array of APD task entries - **totalPages** (`string`): Total number of pages available - **Links** (`JSON object`): Pagination links for next and previous pages - **status** (`string`): Operation result: success ### HTTP 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 Responses ### HTTP 200 APD tasks list ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": "2", "messageResponse": [ { "task_name": "MyTask3", "total_target_transform": "2", "task_id": "310", "task_name_transform": "MyTask2", "os_platform_name": "Windows", "collection_id": "302", "first_name_transform": "admin", "task_id_transform": "Not Authorized", "collection_status": "4", "task_modified_time": "1778828832922", "template_id_transform": "--", "scheduler_class_id": null, "remarks_transform": "", "task_creation_time": "1778828832922", "first_name": "admin", "os_platform_id": "1", "os_platform_name_transform": "Windows", "modifieduser_first_name_transform": "admin", "total_target": "2", "modifieduser_first_name": "admin", "label": "dc.conf.conf_param.Auto_Install_FeaturePack", "label_transform": "Auto Install Patch", "user_id": "1", "task_modified_time_transform": "May 15, 2026 12:36 PM", "template_id": "2", "task_type": "18", "remarks": "302", "task_creation_time_transform": "May 15, 2026 12:36 PM" }, { "task_name": "MyTask2", "total_target_transform": "2", "task_id": "309", "task_name_transform": "MyTask2", "os_platform_name": "Windows", "collection_id": "301", "first_name_transform": "admin", "task_id_transform": "Not Authorized", "collection_status": "3", "task_modified_time": "1778828792217", "template_id_transform": "--", "scheduler_class_id": null, "remarks_transform": "", "task_creation_time": "1778828792217", "first_name": "admin", "os_platform_id": "1", "os_platform_name_transform": "Windows", "modifieduser_first_name_transform": "admin", "total_target": "2", "modifieduser_first_name": "admin", "label": "dc.conf.conf_param.Auto_Install_Patch", "label_transform": "Auto Install Patch", "user_id": "1", "task_modified_time_transform": "May 15, 2026 12:36 PM", "template_id": "2", "task_type": "18", "remarks": "301", "task_creation_time_transform": "May 15, 2026 12:36 PM" } ], "totalPages": 1, "Links": { "next": null, "prev": null }, "status": "success" } ``` ### HTTP 500 Server-side error ```json { "error_description": "dc.rest.api_internal_error", "error_code": "INTERNAL_ERROR" } ``` ## Rate Limits **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.