AnsweredAssumed Answered

Error creating template via API

Question asked by Dan Zerkle on Aug 26, 2017
Latest reply on Jul 23, 2019 by Susan Wright

I'm getting the following error when attempting to create a template via the API 2.0:


Text:  Unrecognized parameter(s): title, scan_selection, include_vuln_details_appendix, global, vuln_active (action=create allows: echo_request, report_format)


Code:  1901


This is peculiar, as I'm pretty sure all those parameters are permitted.  The relevant data for this POST call:


path = "/api/2.0/fo/report/template/scan/"
params["action"] = "create"
params["title"] = template_name
params["report_format"] = "xml"
params["scan_selection"] = "ScanBased"
params["include_vuln_details_appendix"] = "1"
params["global"] = "0"
params["vuln_active"] = "1"


The resulting URL:

According to page 18 of the API quick reference, those are all valid.  So, what gives?


This is QualysGuard Enterprise  Is it possible that this version doesn't support this call?