# Retrieve List of APD Tasks Retrieves the list of all Automated Patch Deployment (APD) tasks. ## Endpoint `GET /dcapi/patch/reports/apdTasks` ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/reports/apdTasks ## 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 - **isWebView** (string, Optional): Whether request is from web view - **skipColumns** (string, Optional): Comma-separated column names to exclude from response ## Sample Request ### Curl ```curl curl --request GET \ --url https://appdomains/dcapi/patch/reports/apdTasks \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 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 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 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" } ``` ## Sample Response: HTTP 500 Server-side error ```json { "error_description": "dc.rest.api_internal_error", "error_code": "INTERNAL_ERROR" } ``` ![ ](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.