Update PCI Template

PUT /api/2.0/fo/report/template/pciscan/?action=update

Update a PCI scan report template in the user's account.

Input ParametersInput Parameters

The same parameters used for scan templates also apply to PCI templates plus there are some additional parameters.

Click here to view parameters for scan templates. Click here to view additional parameters for PCI templates.

Sample - Update PCI TemplateSample - Update PCI Template

API Request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -X PUT -H "Content-type: text/xml" --data-binary @scan_export.xml "https://<qualys_base_url>/api/2.0/fo/report/template/pciscan/?action=update&template_id=8209&report_format=xml"

XML Output

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE SIMPLE_RETURN SYSTEM "https://<qualys_base_url>/api/2.0/simple_return.dtd">
<SIMPLE_RETURN>
  <RESPONSE>
    <DATETIME>2017-04-04T10:52:34Z</DATETIME>
    <CODE>PCI Report Template Updated Successfully [8209]</CODE>
    <TEXT></TEXT>
  </RESPONSE>
</SIMPLE_RETURN>

DTD

<platform API server>/api/2.0/simple_return.dtd