Fetch report

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

[GET]  [POST]

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 Parameters

Parameter

Description

action=fetch

(Required)

echo_request={0|1}

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

id={value}

(Required) The report ID you want to take action on.

 

Sample - Fetch (download) report

API request

curl -H "X-Requested-With: Curl Sample"

-b "QualysSession=71e6cda2a35d2cd404cddaf305ea0208; path=/api; secure" "https://qualysapi.qualys.com/api/2.0/fo/report/?action=fetch&id=1462"

 

DTD

<platform API server>/asset_data_report.dtd