AnsweredAssumed Answered

AssetView API endpoint results in page not found

Question asked by Alexandre Philbert on Jan 16, 2019
Latest reply on Jul 1, 2019 by charles robbins



I am trying to use the Qualys API (enterprise, student account) to search for assets similarly to how you would search them in the UI (using filters, boolean expressions, etc).

Here is the cURL command I am using for the API call:

curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X "POST" --data-binary @- "" < ~/Downloads/params.xml

Here are the contents of params.xml, used in the call:

      <Criteria field="os" operator="EQUALS">Windows</Criteria>


I get a "404 - Page Not Found" when I run the previously detailed command. I am not sure what is going wrong since I have no trouble with other calls such as report downloading and authentication record manipulations.


So, is something wrong with this endpoint? Has it changed? Or, am I making a mistake?


Thank you very much!