Get the list of errors encountered when executing a connector in the connector application
Permissions required - Managers with full scope.
API request
curl -u "USERNAME:PASSWORD" -H "Content-type: application/json" -H "Accept:
application/json" -X "POST" --data-binary @-
"<qualys_base_url>/qps/rest/3.0/search/am/assetdataconnectorerrors"
Request POST data (XML)
<?xml version="1.0" encoding="UTF-8"?>
<ServiceRequest>
<filters>
<Criteria field="id" operator="EQUALS">1xxxxxx</Criteria>
</filters>
</ServiceRequest>
Response (XML)
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/3.0/am/assetdataconnectorerrors.xsd">
<responseCode>SUCCESS</responseCode>
<count>0</count>
</ServiceResponse>
API request(JSON)
"curl -u""USERNAME:PASSWORD""-H""Content-type: application/json""-H""Accept:
application/json""-X""POST""--data-binary @-""<qualys_base_url>/qps/rest/3.0/search/am/assetdataconnectorerrors""--header""Accept: application/json""--header""Content-Type: application/json"
Request POST data(JSON)
{
"ServiceRequest":{
"filters":{
"Criteria":[
{
"field":"id",
"operator":"EQUALS",
"value":"1xxxxxxx"
}
]
}
}
}
Response(JSON)
{
"ServiceResponse":{
"responseCode":"SUCCESS",
"count":0
}
}