REST API and properties of type "xyz"


I’m trying to have the equivalent of QNA : properties of type “xyz” using REST API.

I have tried this :
https://bigfixserver:52311/api/query?relevance=(properties of type “result”)" with IEMAdmin account

In response I get:

<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
        <Query Resource="(properties of type &quot;result&quot;)">
                <Error>Singular expression refers to nonexistent object.</Error>

While you can in fact query the REST API for this type of information, you can also always reference the documentation. For the /api/query resource, note that it expects session relevance, whose documentation is available here:

That said, it’s not clear from the above what kind of result data you are looking for. Here are some potential examples:

properties of type "bes action result"
properties of type "bes property result"
properties of type "bes fixlet result"

And if you are not sure what types are available, you can search the documentation:

Or continue to use the introspectors with something like:

properties whose (it as string contains "result")

1 Like