Fetch Report

GET POST /api/2.0/fo/report/?action=fetch

Fetch (download) a report in the user's account.

Permissions - Managers can fetch any report. Unit Managers can fetch report in their own business unit (report launched by users in their own business unit). Scanners and Readers can fetch their own report.

Input ParametersInput Parameters

Parameter

Required/Optional

Data Type

Description

action=fetch

Required

String 

Specify action to fetch report.

echo_request={0|1}

Optional

Integer 

Specify 1 to view (echo) input parameters in the XML output. By default these are not included.

id={value}

Required

Integer 

The report ID you want to take action on.

Sample - Fetch (Download) ReportSample - Fetch (Download) Report

API Request

curl -H "X-Requested-With: Curl Sample"-b "QualysSession=71e6cda2a35d2cd404cddaf305ea0208; path=/api; secure" "https://<qualys_base_url>/api/2.0/fo/report/?action=fetch&id=1462"

DTD

<platform API server>/asset_data_report.dtd