Count Connectors

[POST] /qps/rest/2.0/count/am/assetdataconnector

Returns the number of asset data connectors that match the provided criteria.



Permissions required - Managers with Full Scope.

Sample - Count connectorsSample - Count connectors

Count the number of asset data connectors with the tag name USA

API request

curl -u "USERNAME:PASSWORD" "<qualys_base_url>/qps/rest/2.0/count/am/assetdataconnector"< file.xml      
    

Response

<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/2.0/am/asset_data_connector.xsd">
    <responseCode>SUCCESS</responseCode>
    <count>1</count>
</ServiceResponse>      
    

XSD

<platform API server>/qps/xsd/2.0/am/asset_data_connector.xsd