White Papers
67 REST API Guide OpenManage Essentials | Revision A02
2.18.4 Non-Compliant Package for DeviceGroups
Following are URIs used to fetched non-compliant pacakges for devices. These URI also support paging of
output data:
1. This URI will return all the non-compliant packages for the devices which are non-compliant with respect
to the group. If the group is custom group and associated to custom catalog, the devices which are non-
compliant with associated catalog will be considered. If the group is not associated to custom catalog,
then devices which are non compliant with respect to default catalog will be considered:
<BASE_URI>/DeviceGroups/<group-id>/SystemUpdateCompliance/NonCompliant/Packages
2. This URI will return the count of non-compliant packages for the devices which are non-compliant with
respect to the group. If the group is custom group and associated to custom catalog, the devices which
are non-compliant with associated catalog will be considered. If the group is not associated to custom
catalog, then devices which are non compliant with respect to default catalog will be considered:
<BASE_URI>/DeviceGroups/<group-
id>/SystemUpdateCompliance/NonCompliant/Packages/Count
3. This URI will return the first {top} number of non-compliant packages for the devices which are non-
compliant with respect to the group. If the group is custom group and associated to custom catalog, the
devices which are non-compliant with associated catalog will be considered. If the group is not associated
to custom catalog, then devices which are non compliant with respect to default catalog will be
considered:
<BASE_URI>/DeviceGroups/<group-
id>/SystemUpdateCompliance/NonCompliant/Packages/$top={top}
4. This URI will return the first {top} number of non-compliant packages after skipping {skip} count for the
devices which are non-compliant with respect to the group. If the group is custom group and associated
to custom catalog, the devices which are non-compliant with associated catalog will be considered. If the
group is not associated to custom catalog, then devices which are non compliant with respect to default
catalog will be considered:
<BASE_URI>/DeviceGroups/<group-
id>/SystemUpdateCompliance/NonCompliant/Packages/$skip={skip}&$top={top}
2.18.5 Sample Output for Devices and Packages
Sample Output for List<Devices>
<GetAllNonCompliantDevicesResponse>
<GetAllNonCompliantDevicesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Device>
<AssetTag />
<DNSName />
<DiscoveryTime>2017-11-23T00:20:12</DiscoveryTime>
<ExpressServiceCode>38702992502</ExpressServiceCode>
<GlobalStatus>16</GlobalStatus>
<Id>3</Id>
<InventoryTime>2017-11-23T00:19:38</InventoryTime>