In the body you declare a critieria but the documentation doesn't say what other critieria is allow. Does anyone know? Looking to get back all hosts with a certain port open...
See below for the doc reference:
Search Hosts Assets - By Criteria
Find assets according to specified criteria and paging preferences. The Service Request
Criteria allows the operator to evaluate value fields, like name.
Managers with Full Scope. Users without Full Scope must have these permissions:
Access Permission“API Access”
Asset Management Permission “Read Asset”
Find an asset by name.
curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X "POST"
Request POST data (file.xml):
<Criteria field="name" operator="CONTAINS">HostAsset <--- What other Criteria are allowed?