Get Report Status
Retrieve the status of 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.
Input ParametersInput Parameters
The element “id” (integer) is required, where “id” identifies the report.
Sample - Get report status of a particular reportSample - Get report status of a particular report
Let us view details for report with ID 1302.
API request:
curl -n -u "USERNAME:PASSWORD" "<qualys_base_url>/qps/rest/3.0/status/was/report/1302"
XML response:
<?xml version="1.0" encoding="UTF-8"?>
<ServiceResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="<qualys_base_url>/qps/xsd/3.0/was/report.xsd"
<ServiceResponse>
<count>1</count>
<data>
<Report>
<id>1302</id>
<status>COMPLETE</status>
</Report>
</data>
<responseCode>SUCCESS</responseCode>
</ServiceResponse>
XSD
<platform API server>/qps/xsd/3.0/was/report.xsd