These use case scenarios provide the Summary Report API commands for generating a Summary Report for an application or development sandbox.
You can use the Applications API to get the GUID for an application or development sandbox.
Use this command to generate a Summary Report for an
application:
http --auth-type=veracode_hmac "https://api.veracode.com/appsec/v2/applications/<Veracode application GUID>/summary_report"
Use this command to generate a Summary Report for a development sandbox:
http --auth-type=veracode_hmac "https://api.veracode.com/appsec/v2/applications/<Veracode application GUID>/summary_report?context=<sandbox GUID>"