thirdpartyreportpdf.do

Veracode APIs

The thirdpartyreportpdf.do call downloads a PDF file of the scan results for the specified build of a third-party application.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines. Ensure you access the APIs with the domain for your region.

Resource URL

https://analysiscenter.veracode.com/api/4.0/thirdpartyreportpdf.do

Parameters

Name Type Description
build_id

Required

Integer Application or sandbox build ID.

HTTPie Example

Examples use the HTTPie command-line tool. See Using HTTPie with the Python Authentication Library.

http --auth-type=veracode_hmac -o thirdpartyreport.pdf "https://analysiscenter.veracode.com/api/4.0/thirdpartyreportpdf.do" "build_id==<build id>"

HTTPie Results

The thirdpartyreportpdf.do call returns the thirdpartyreport_<app_name>_<build_id> PDF format of the scan results of a third-party application.

API Wrapper Examples

To get the same result as thirdpartyreportpdf.do using an API wrapper, you use the following parameters:

  • -action thirdpartyreport
  • -format pdf

Java example:

java -jar vosp-api-wrapper-java{version}.jar -vid <Veracode API ID> -vkey <Veracode API Key> -action thirdpartyreport -buildid <build id> -format pdf -outputfilepath c:\javawrappers\thirdpartyreport.pdf

C# example:

VeracodeC#API -vid <Veracode API ID> -vkey <Veracode API Key> -action thirdpartyreport -buildid <build id> -format pdf -outputfilepath c:\csharpwrappers\thirdreport.pdf

API Wrapper Results

The thirdpartyreportpdf.do call returns the scan results of a third-party application as a PDF with filename thirdpartyreport_<app_name>_<build_id>.pdf.