The getprescanresults call fetches the results of the prescan.

Before using this API, Veracode strongly recommends that you read API Usage and Access Guidelines.

Resource URL


app_id Integer. Required.
build_id Integer. Defaults to the most recent build.
sandbox_id Integer. Optional. Enter the ID of the sandbox for which you want to get prescan results.


curl --compressed -u <VeracodeUsername>:<VeracodePassword> -F "app_id=10886"


The call returns the prescanresults XML document, which references the prescanresults.xsd. Additional prescanresults.xsd schema documentation is available. Use the XSD file to validate the XML data.

See API Prescan Status Information for more information.