Evaluate Tag (Deprecated)

[POST] /qps/rest/2.0/evaluate/am/tag/<id>

[POST] /qps/rest/2.0/evaluate/am/tag

The Evaluate Tag API is now deprecated. The API was available for subscriptions that support Dynamic tagging and forced re-evaluation of one or more tags. However, now tags are automatically queued for evaluation when their dynamic rule is updated or a new dynamic tag is created.

Sample - Deprecation Message for Evaluation APISample - Deprecation Message for Evaluation API

API request

curl -u "USERNAME:PASSWORD" -H "content-type: text/xml" -X "POST" --data-binary @- "<qualys_base_url>/qps/rest/2.0/evaluate/am/tag"
Note: “file.xml” contains the request POST data.      
    

Request POST data

<?xml version="1.0" encoding="UTF-8" ?>
<ServiceRequest>
    <filters>
        <Criteria field="ruleType" operator="EQUALS">Sample</Criteria>
    </filters>
</ServiceRequest>      
    

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/tag.xsd">
    <responseCode>INVALID_REQUEST</responseCode>
    <responseErrorDetails>
        <errorMessage>Invalid Request</errorMessage>
        <errorResolution>Evaluate tag using API is no more supported,now tags are automatically queued for evaluation when their dynamic rule is updated or a new dynamic tag is created,  please contact support for more info.</errorResolution>
    </responseErrorDetails>
</ServiceResponse>      
    

XSD

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