Get patch configuration

This endpoint is used to fetch patch configuration details.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{tenantId}/patches/configurations/{id}

Sample URLs

https://{api-url}/api/v2/tenants/client_13/patches/configurations/PATCHCONF-9db1451f-1441-4bd9-90b9-aa371fc11e6d

Status code

200 OK

Sample response

{

    "id": "PATCHCONF-d708f385-e17f-41a0-b602-bf9d69a1f70d",
    "patchConfigName": "patch1",
    "description": "desc",
    "approvalType": {
        "approvalType": 0,
        "approvalReason": ""
    },
    "rebootOptions": {
        "rebootRequired": false,
        "forceReboot": false
    },
    "enablePatching": false,
    "approval": "MANUAL",
    "installation": "AUTO",
    "source": "LOCAL",
    "scheduleJob": {
        "name": "PATCHCONF-d708f385-e17f-41a0-b602-bf9d69a1f70d",
        "entities": [
            {
                "resource": {
                    "id": "eb1c8614-9593-4185-98f7-ac4266e180f1",
                    "generalInfo": {
                        "osName": "",
                        "ipAddresses": "",
                        "hostName": "rewss",
                        "resourceType": "Desktop",
                        "resourceName": "test vm",
                        "aliasName": ""
                    },
                    "clientUniqueId": "client_4",
                    "type": "DEVICE"
                }
            }
        ],
        "schedule": {
            "startDate": "2019-05-23T00:00:00+0000",
            "pattern": {
                "type": "daily",
                "frequency": "everyday"
            }
        },
        "client": {
            "id": 4,
            "uniqueId": "client_4",
            "name": "EHR",
            "activated": true
        },
        "script": {
            "jobType": "missingPatchesDownloadUpdate"
        }
    }
}