Query Assessment Data Based on Smart Groups

To query assessment data based on Smart Groups, perform the following steps.

To query assessment data based on Smart Groups;

1. Use the following URL: https://app.flexerasoftware.com/api/inventory/host-groups/top_custom/ 

[{"id":122,"name":"Server SVM","path":null,"level":0,"children_count":0,"reprocess":true,"source":1,"priority":1}]

2. Pull the ID from you smart group you wish to query (122 is the ID in the example above).
3. Insert the Smart Group ID in API calls (using 122 for our example):
https://api.app.flexerasoftware.com/api/inventory/host-groups/122/ 
https://api.app.flexerasoftware.com/api/inventory/host-groups/122/advisories/ 
https://api.app.flexerasoftware.com/api/inventory/host-groups/122/hosts/ 
https://api.app.flexerasoftware.com/api/inventory/host-groups/122/products/