The thirdpartyreportpdf.do call downloads a PDF file of the scan results for the specified build of a third-party application.
curl --compressed -k -v -u <VeracodeUsername>:<VeracodePassword> https://analysiscenter.veracode.com/api/4.0/thirdpartyreportpdf.do?build_id=49894 > thirdpartyreport.pdf
The thirdpartyreportpdf.do call returns the thirdpartyreport_<app_name>_<build_id> PDF format of the scan results of a third-party application. Using > filename appended to any API command from the command line creates a file to put the results in. This example shows the output of the command being saved to a PDF file called summaryreport.pdf.