Hi @Aram,
I am running the below command and getting output in xml?
c:\curl>curl -k --insecure --user admin:admin --data-urlencode "relevance=(name of bes computers)" https://server1:52311/api/query?output=json
<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Query Resource="(name of bes computers)">
<Result>
<Answer type="string">WIN1</Answer>
</Result>
<Error>Singular expression refers to non-unique object.</Error>
</Query>
</BESAPI>
am i running the correct syntax?