Create Patch Template

POST /api/2.0/fo/report/template/patch/?action=create

Create a patch report template in the user's account.

Input ParametersInput Parameters

Click here to view parameters for creating patch report templates.

Sample - Create Patch TemplateSample - Create Patch Template

API Request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -X POST -H "Content-type: text/xml" --data-binary @scan_export.xml "https://<qualys_base_url>/api/2.0/fo/report/template/patch/?action=create&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>2021-06-18T08:06:07Z</DATETIME>
    <TEXT>Patch Report Template(s) Successfully Created.</TEXT>
    <ITEM_LIST>
      <ITEM>
        <KEY>ID</KEY>
        <VALUE>5084140</VALUE>
      </ITEM>
    </ITEM_LIST>
  </RESPONSE>
</SIMPLE_RETURN>

DTD

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