Create APD Task

Note: Not Applicable for Cloud version

  • Functionality
  • Create APD Task.
  • HTTP Method 
  • POST
  • API URI
  • api/1.3/patch/createAPDTask

Request Data

  {  "settings": { "taskName":"windows create task",//This is a Mandatory Field "description":"task for windows", "platform":"Windows",//This is a Mandatory Field "security_update":"true", //This is applicable for all 3 platforms "non_security_update":"true",//This is applicable only for Windows & Mac  "thirdparty_update":"true",//This is applicable for all 3 platforms "definition_update":"true",//This is applicable only for Windows "servicepack_update":"true", //This is applicable only for Windows "featurepack_update":"true",//This is applicable only for Windows "rollups":"true",//This is applicable only for Windows "optional_updates":"true", "include_tp_app_type":"Patch Specific Applications", "include_os_app_type":"Patch All Applications Except", "os_applications":"Windows Defender x64", "tp_applications":"Notepad++", "delay_deployment_by_approved_time/delay_deployment_by_released_time":"5", "EXPIRY_TIME":"08/29/2018, 00:00", "templateName":"Force reboot excluding servers",//This is a Mandatory Field "target_type":"REMOTE_OFFICE",//This is a Mandatory Field and the target type can be (REMOTE_OFFICE,CUSTOM_GROUP,DOMAIN) "target_list":"Local Office",//This is a Mandatory Field "failure_notify_enable":"false", "failure_notify_duration":"1", "NeedFailureAttachment":"true", "attachmentFormatForFailure":"xls", "report_notify_enable":"false", "report_notify_duration":"3", "NeedReportAttachment":"true", "attachmentFormatForReport":"pdf", "email":"xx@yy.com" } }  

Security update(security_update), non-security update(non_security_update), third-party update(thirdparty_update), definition update(definition_update), service pack update(servicepack_update), feature pack update(featurepack_update), rollups(rollups) and optional updates(optional_updates) - Out of these updates, the User should specify at least one update based on the platform specified.