Download Report in the .CSV Format

Use this API to download previously generated reports in the .CSV format.

GET/pm/v1/report/{reportId}/download

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

reportId

Mandatory

string

Specify the report ID that you want to download.

Sample - Download a specific reportSample - Download a specific report

API request

    
      curl -k -o /home/jdoe/e81269ce-0abf-4896-92fd-b171b8aaf48a.csv.gz -X GET
      "https://<QualysBaseURL>/pm/v1/report/ba7fa6f8-a5cd-40ed-85ce-eacb4191abef/download" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>"  
    


Note:
Ensure that you have permission to access the report download folder that you specify in the request.

Response

    
       % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   101    0   101    0     0    138      0 --:--:-- --:--:-- --:--:--   138