Download a report which is in the user’s scope. Want to find a report ID to use as input? See Search reports.
Permissions required - User must have WAS module enabled. User account must have these permissions: Access Permission “API Access”. The output includes reports in the user's scope.
The element “id” (integer) is required, where “id” identifies the report.
API request
curl -n -u "USERNAME:PASSWORD" "<qualys_base_url>
/qps/rest/3.0/download/was/report/1302""
Report ID 1302 will be downloaded in the selected format in which it was generated.
<platform API server>/qps/xsd/3.0/was/report.xsd