List APD Tasks Deprecating soon

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves a paginated list of Automated Patch Deployment tasks with their configuration details, target counts, and schedule information.

This API endpoint is deprecating soon

Request URL

https://{server-hostname}:8383/api/1.4/patch/apdTaskListdetails

Scope

PatchMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/api/1.4/patch/apdTaskListdetails \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
message_typestring

Action identifier: apdTaskListdetails

message_responseJSON object

APD task list response payload with pagination

Show Sub-Attributes
totalstring

Total number of APD tasks

apdtasklistdetailsJSON array

Array of APD task detail objects

Show Sub-Attributes
JSON object
Show Sub-Attributes
task_namestring

APD task name

task_idstring

Unique task identifier

collection_idstring

Associated collection/group ID

collection_statusstring

Collection status (2=active)

task_typestring

Task type identifier (18=APD task)

os_platform_namestring

Target platform display name: Windows, Mac, or Linux

os_platform_idstring

Platform numeric ID: 1=Windows, 2=Mac, 3=Linux

total_targetstring

Number of target computers

user_idstring

User ID who created the task

first_namestring

First name of the user who created the task

task_creation_timestring

Task creation timestamp in epoch milliseconds

task_modified_timestring

Last modification timestamp in epoch milliseconds

scheduler_class_idstring

Scheduler class ID or -- if not scheduled

template_idstring

Deployment template ID or -- if not assigned

remarksstring

Remarks or collection ID reference

limitstring

Records per page

pagestring

Current page number

message_versionstring

API version: 1.3

statusstring

Overall operation status: success

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Paginated APD task list with two tasks

Copied!
  {
    "message_type": "apdTaskListdetails",
    "message_response": {
      "total": 2,
      "apdtasklistdetails": [
        {
          "task_name": "MyTask1",
          "total_target": "1",
          "task_id": "633",
          "os_platform_name": "Windows",
          "collection_id": "312",
          "collection_status": "2",
          "user_id": "1",
          "task_modified_time": "1756191374069",
          "scheduler_class_id": "--",
          "template_id": "--",
          "task_type": "18",
          "task_creation_time": "1756191374069",
          "first_name": "admin",
          "os_platform_id": "1",
          "remarks": "312"
        }
      ],
      "limit": 25,
      "page": 1
    },
    "message_version": "1.3",
    "status": "success"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | 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.