post https://yourServer.jamfcloud.com/JSSResource/mobiledevicegroups/id/
<mobile_device_group>
<name>Sample Group</name>
<is_smart>true</is_smart>
<criteria>
<criterion>
<name>Last Inventory Update</name>
<priority>0</priority>
<and_or>and</and_or>
<search_type>more than x days ago</search_type>
<value>7</value>
<opening_paren>false</opening_paren>
<closing_paren>false</closing_paren>
</criterion>
</criteria>
<site>
<id>-1</id>
<name>None</name>
</site>
</mobile_device_group>