So, in your query above, you seem to be missing double-quotes around ‘Native’ for the agent type comparison/filter. I’m guessing this was due to challenges with including double-quotes in the command-line. With cURL, one thing you can do is to leverage its data/URLEncoding capabilities to help simplify this a bit. Try something like:
curl -X GET --user "xyz:xyz" https://abc:52311/api/query -G --data-urlencode "relevance=(IDs of it , Names of it , Operating Systems of it , Last Report Times of it) of bes computers whose (agent type of it = %22Native%22)"
In the case above, we’re using
%22 to signify double-quotes.