Retrieve Supported Patches 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 the list of all patches supported and manageable by Endpoint Central.

This API endpoint is deprecating soon

View new endpoint   >

Request URL

https://{serverurl}/api/1.4/patch/supportedpatches Copied!

Scope

DesktopCentralCloud.PatchMgmt.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Query Parameters

searchvaluestringOptional

Text to look up in the column given in searchcolumn. Use together with searchtype and searchcolumn.

searchcolumnstringOptional

Name of the column (field) in the response in which the search text is looked up. Use together with searchtype and searchvalue.

searchtypestringOptional

Type of search to be performed on the column, for example, contains. Search is applied only when searchtype, searchcolumn and searchvalue are all provided.

sortorderstringOptional

Direction in which the records are sorted. Allowed values: ASC (ascending) and DESC (descending). Use together with orderby.

orderbystringOptional

Name of the column (field) in the response by which the records are sorted. Use together with sortorder.

pagelimitstringOptional

Number of records to be returned per page. Minimum 1, maximum 1000. Default is 25.

pageintegerOptional

Page number of the result set to be returned. Minimum 1, maximum 100000. Default is 1.

patchidstringOptional

Unique ID of the patch to filter by. Get the patch ID from Get All Patches api

bulletinidstringOptional

Returns only the patches released under the given bulletin. A bulletin is the vendor advisory a patch is published under, for example MS15-041. Enter the Bulletin ID exactly as shown in the patch list.

severityfilterintegerOptional

Returns only the patches of the given severity. Accepted values: 0 - Unrated, 1 - Low, 2 - Moderate, 3 - Important, 4 - Critical.

platformfilterstringOptional

Returns only the records of the given operating system platform. Accepted values: windows, mac, linux.

approvalstatusfilterintegerOptional

Returns only the patches with the given approval status. Accepted values: 211 - Approved, 0 - Not Approved, 212 - Declined.

languagefilterintegerOptional

Returns only the patches released for the given language. Provide the language ID as listed in Endpoint Central.

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/api/1.4/patch/supportedpatches \
  --header 'Accept: application/json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

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

Value: supportedpatches

message_responseJSON Object

Paginated supported patches data

Show Sub-Attributes
totalstring

Total number of supported patches

supportedpatchesJSON Array

Array of supported patch objects

Show Sub-Attributes
JSON Object
Show Sub-Attributes
patch_idlong

Unique patch identifier

bulletin_idstring

Security bulletin identifier

patch_namestring

Patch filename

patch_descriptionstring

Patch description

severitystring

Severity: 0=Unrated, 1=Low, 2=Moderate, 3=Important, 4=Critical

pmseverity.namestring

Human-readable severity name

patch_typestring

Patch type code

update_namestring

Update category name

vendor_namestring

Vendor name

platform_namestring

Platform: Windows, Mac, or Linux

patch_statusstring

Approval status: 211=Approved, 212=Declined

download_statusstring

Download status code: 221=Downloaded, 222=NotDownloaded

patch_released_timelong

Patch release timestamp

patch_sizelong

Patch file size in bytes

patch_norebootstring

Reboot: 0=Not Required, 1=Required

patch_uninstall_statusstring

Uninstall: 0=Not Supported, 1=Supported

superceded_bystring

Superseding patch ID, or NA

patch_supported_timelong

Timestamp when patch was added to supported list

limitstring

Records per page

pagestring

Current page number

message_versionstring

API version: 1.0

statusstring

Operation status: success

response_codestring

Response code: 200

- HTTP code 401

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodelong

Unauthorized error code returned when authentication credentials are missing, expired, or invalid (authentication=required)

errorMsgstring

Authentication failure reason

- HTTP code 403

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodelong

Forbidden error code returned when the authenticated user does not have the required uem-roles (e.g., DataEncryption_Admin or DataEncryptionRecoveryKey_Admin)

errorMsgstring

Message indicating insufficient privileges to access this resource

- HTTP code 429

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodelong

Rate limit error code returned when the API call threshold (configured via threshold/duration in security XML) is exceeded; client is locked out for lock-period minutes

errorMsgstring

Rate limit exceeded message with retry guidance

Sample Response: HTTP 200

Copied!
  {
    "message_type": "supportedpatches",
    "message_response": {
      "total": 26,
      "limit": 25,
      "page": 2,
      "supportedpatches": [
        {
          "update_id": 2,
          "patch_lang": 1,
          "patch_updated_time": 1552980907650,
          "sqnumber": "6.22.0.0",
          "patch_updated": 1552978698000,
          "bulletin_id": "TU-075",
          "patch_noreboot": 1,
          "update_name": "Third Party Updates",
          "platform": 1,
          "configstatusdefn.image_name": "/images/approved_icon.gif",
          "patch_released_time": 1552974574000,
          "patch_size": 6537016,
          "customerpatchstatus.patch_id": 309239,
          "patch_uninstall_status": 0,
          "platform_name": "Windows",
          "download_status": 221,
          "patch_type": 2,
          "first_name": "DC-SYSTEM-USER",
          "pmseverity.name": "Low",
          "patch_status": 211,
          "severity": 1,
          "patchstorestatusdefn.label": "dc.common.SUCCESS",
          "configstatusdefn.label": "dc.common.APPROVED",
          "patch_id": 309239,
          "patch_name": "BANDIZIP-SETUP.EXE",
          "patch_description": "Bandizip (6.22.0.0)",
          "newpatchinfo.patchid": 309239,
          "patch_remarks": "",
          "vendor_name": "Bandisoft",
          "superceded_by": "NA",
          "severity_name": "dc.common.LOW",
          "patchstorestatusdefn.image_name": "/images/download_success.png",
          "patch_supported_time": 1552974574000,
          "patchdetails.patchid": 309239,
          "customer_id": 1
        }
      ]
    },
    "message_version": "1.0",
    "status": "success",
    "response_code": 200
  }
                
▼ Show full

Sample Response: HTTP 401

Authentication credentials are missing, expired or invalid

Copied!
  {
    "error_code": "UAC_UNAUTHORIZED",
    "error_description": "dc.rest.authentication.unauthorized"
  }
                
▼ Show full

Sample Response: HTTP 403

Authenticated user lacks the required role or scope

Copied!
  {
    "errorCode": "FORBIDDEN",
    "errorMessage": "You do not have sufficient privileges to perform this operation"
  }
                
▼ Show full

Sample Response: HTTP 429

API call threshold exceeded

Copied!
  {
    "errorCode": "RATE_LIMIT_EXCEEDED",
    "errorMessage": "API call limit exceeded. Retry after the lock period elapses"
  }
                
▼ Show full

Duration: 1 minute | Threshold: 5 | Lock period: 1 minute

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.