Create a scan report template in the user's account.
Click here to view parameters for creating scan templates.
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/scan/?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>2017-04-06T05:41:32Z</DATETIME> <CODE>Scan Report Template(s) Created Successfully [89876]</CODE> <TEXT></TEXT> </RESPONSE> </SIMPLE_RETURN>
<platform API server>/api/2.0/simple_return.dtd