Returns a single tag by ID.
Limit your results - Use the optional “fields” parameter to limit the amount of information returned for the tag. Learn more
Permissions required - Managers with full scope, other users must have Access Permission “API Access”
API request
curl -n -u "USERNAME:PASSWORD" "<qualys_base_url>/qps/rest/2.0/get/am/tag/12345"
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>SUCCESS</responseCode>
<count>1</count>
<data>
<Tag>
<id>12345</id>
<name>Test Tag</name>
<created>2014-02-06T19:14:50Z</created>
<modified>2014-02-06T19:14:50Z</modified>
<color>#FFFFFF</color>
<ruleText>asset.installedSoftwares.contains { it.name == "Windows" }</ruleText>
<ruleType>GROOVY</ruleType>
<children>
<list/>
</children>
</Tag>
</data>
</ServiceResponse>
<responseCode>SUCCESS</responseCode>
<platform API server>/qps/xsd/2.0/am/tag.xsd