Any documentation on BigFix Query RESTAPI?

I know you can issue queries within the BigFix WebUI using BigFix Query. According to the Platform documentation, you can also access that via a REST API:

https://www.ibm.com/support/knowledgecenter/en/SSQL82_9.5.0/com.ibm.bigfix.doc/Platform/Config/c_bigfix_query.html

Unfortunately the link on that documentation page to the REST API for BigFix Query is broken. Additionally it doesn’t seem to be referenced at all on developer.bigfix.com. Any pointers to official or unofficial docs?

Check out this link:
https://developer.bigfix.com/rest-api/api/bigfix_query.html
-jgo

5 Likes

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.

<BESAPI>
<ClientQuery>
	<ApplicabilityRelevance>true</ApplicabilityRelevance>
	<QueryText>(ids of it, names of it) of processes</QueryText>
	<Target>
		<ComputerName>hostname1</ComputerName>
		<!-- Other targetting options include:
		<ComputerID>12345</ComputerID>
		<CustomRelevance>windows of operating system</CustomRelevance>
		<ComputerGroup>
			<Name>ComputerGroup1<Name>
			<SiteName>CustomSite1<SiteName>
		</ComputerGroup>
		-->
	</Target>
</ClientQuery>
</BESAPI>
3 Likes

This site is very Useful i have done multiple integrations taking reference from this site.

https://developer.bigfix.com/rest-api/

Deepak

1 Like