I had a use for this today, and was a bit disappointed that the developer.bigfix.com documentation did not include a sample XML for posting a new clientquery. So here’s one.
<QueryText>(ids of it, names of it) of processes</QueryText>
<!-- Other targetting options include:
<CustomRelevance>windows of operating system</CustomRelevance>