All Patch - Computers


This API lists the status of a given patch in all computers.

  • Functionality
  • Retrieve the list of patch computers.
  • HTTP Method 
  • GET
  • API URI
  • api/1.3/patch/allpatchdetails?patchid={patch_id}
  • Filters
  • domainfilter={String}:

    Get domain list from api/1.3/desktop/serverproperties

    branchofficefilter={String}:

    Get branch office list from api/1.3/desktop/serverproperties

    customgroupfilter={String}:

    Get Custom Group list from api/1.3/desktop/serverproperties

    platformfilter={String}:

    Windows/Mac

    patchid={Numeric}:

    Filter for patch with a particular id

    bulletinid={String}:

    Filter for patches with particular bulletin id

    patchstatusfilter={Numeric}:

    201 - Installed
    202 - Missing
    206 - Failed

    severityfilter={Numeric}:

    0 - Unrated
    1 - Low
    2 - Moderate
    3 - Important
    4 - Critical
  • Response Parameters
  • severity:

    0 - Unrated
    1 - Low
    2 - Moderate
    3 - Important

    affected_patch_status:

    201 - Installed
    202 - Missing
    206 - Failed to Install

Response Data

   { 	{ 	"message_type": "allpatchdetails", 	"message_response": { 		"total": 5, 		"allpatchdetails": [ 			{ 				"branch_office_name": "Local Office", 				"patch_updated_time": 1552563514708, 				"resource.name": "patch-w12-64-1", 				"installstatusdefn.label": "--", 				"sqnumber": "4057116", 				"os_language": 1, 				"install_error_code": "--", 				"bulletin_id": "MS18-JAN9", 				"update_name": "Security Updates", 				"deploy_remarks": "--", 				"patch_released_time": 1515715200000, 				"patch_size": 0, 				"patch_uninstall_status": 0, 				"resource.domain_netbios_name": "DCPATCH", 				"service_pack": "Windows Server 2012 R2 Gold (x64)", 				"approvestatusdefn.image_name": "/images/approved_icon.gif", 				"affectedpatchstatusdefn.image_name": "/images/success.gif", 				"patch_type": 0, 				"resource.resource_id": 50924, 				"first_name": "DC-SYSTEM-USER", 				"pmseverity.name": "Important", 				"patch_status": 211, 				"severity": 3, 				"patch_id": 23956, 				"patch_name": "SQLPreReqHandler_KB4057116_x64.exe", 				"collection.collection_name": "--", 				"patch_description": "Security update for SQL Server 2012 Service Pack 4 x64 (KB4057116)", 				"approvestatusdefn.label": "dc.common.APPROVED", 				"oslanguage.i18n": "dc.patch.patchinfo.English", 				"deployment_status": "--", 				"vendor_name": "Microsoft", 				"superceded_by": "NA", 				"severity_name": "dc.common.IMPORTANT", 				"resourcemacip.resource_id": 50924, 				"ip_address": "172.24.143.191", 				"deployer.first_name": "--", 				"installstatusdefn.image_name": "--", 				"patch_supported_time": 1518615106000, 				"affectedpatchstatusdefn.label": "dc.common.INSTALLED", 				"agent_version": "10.0.267.W", 				"user_id": 2, 				"resource_id": 50924, 				"os_name": "Windows Server 2012 R2 Standard Edition (x64)", 				"deploy_remarks_args": "--", 				"installed_time": "--" 			}, 		], 		"limit": 25, 		"page": 1 	}, 	"message_version": "1.0", 	"status": "success", 	"response_code": 200 }