Create patch template

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

[POST]

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

Input Parameters

Click here to view parameters for creating patch report templates.

Sample

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With:curl" -X POST -H "Content-type: text/xml" --data-binary @scan_export.xml "https://qualysapi.qualys.com/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://qualysapi.qualys.com/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