Use this API to download the patch insights report for the reportId you provide. The report format is CSV. The response for this API is a link from where you can download the patch insight report.
API request
curl -X 'GET' \
'<qualys_base_url>.qualys.com/pm/v1/report/e23a6bbc-8949-451cae4e-
19fa281deada/download' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <<jwt token>>'
The response for this API is a link from where you can download the patch. The report format is CSV.