URL

GET https://{api-url}/api/v2/tenants/{tenantId}/patches/compliance/{complianceId}/devices

Sample URLs

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-f9d7474c-11ec-44d4-9060-64a62825b9b3/devices
https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-f9d7474c-11ec-44d4-9060-64a62825b9b3/devices?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=name

Parameters

The parameters are optional:

FieldDefault Value
pageNo={pageNo}1
pageSize={pageSize}100
isDescendingOrder={true/false}true
sortName={field}name

Sample response

{
	"results": [{
		"id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
		"generalInfo": {
			"osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
			"ipAddresses": "10.0.3.15",
			"hostName": "ADMIN-PC",
                        "resourceType": "Windows",
                        "resourceName": "172.31.26.40",
                        "aliasName": "alias name"
		},
		"clientUniqueId": "client_16",
		"type": "DEVICE"
	}],
	"totalResults": 1,
	"orderBy": "name",
	"pageNo": 1,
	"pageSize": 10,
	"totalPages": 1,
	"nextPage": false,
	"previousPageNo": 0,
	"descendingOrder": true
}