Skip to main content

getbuildlist.do

The getbuildlist.do call produces a list of the application policy or sandbox scans in progress or already complete.

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/5.0/getbuildlist.do

Parameters

NameTypeDescription
app_id
Required
IntegerApplication ID.
sandbox_idIntegerTarget sandbox ID.

HTTPie example

Examples use the HTTPie command-line tool.

http --auth-type=veracode_hmac "https://analysiscenter.veracode.com/api/5.0/getbuildlist.do" "app_id==<app id>"

HTTPie results

The getbuildlist.do call returns the buildlist XML document, which references the buildlist.xsd schema file. You can use the XSD schema file to validate the XML data.

<?xml version="1.0" encoding="UTF-8"?>

<buildlist xmlns:xsi="http&#x3a;&#x2f;&#x2f;www.w3.org&#x2f;2001&#x2f;XMLSchema-instance"
xmlns="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;2.0&#x2f;buildlist"
xsi:schemaLocation="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;2.0&#x2f;buildlist
https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;resource&#x2f;2.0&#x2f;buildlist.xsd" buildlist_version="1.3"
account_id="<account id>" app_id="<app id>" app_name="<app name>"><build build_id="<build id>"
version="13 Aug 2019 Static" policy_updated_date="2019-08-13T14&#x3a;02&#x3a;08-04&#x3a;00"/>
</buildlist>

Java example

java -jar vosp-api-wrappers-java-<version #>.jar -vid <VeracodeApiId> -vkey <VeracodeApiKey> -action getbuildlist –appid <app id>

Java results

The getbuildlist.do call returns the buildlist XML document, which references the buildlist.xsd schema file. You can use the XSD schema file to validate the XML data.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<buildlist xmlns="https://analysiscenter.veracode.com/schema/2.0/buildlist"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" account_id="74370"
app_id="<app id>" app_name="<app name>" buildlist_version="1.3"
xsi:schemaLocation="https://analysiscenter.veracode.com/schema/2.0/buildlist
https://analysiscenter.veracode.com/resource/2.0/buildlist.xsd">
<build build_id="<build id>"
policy_updated_date="2019-08-13T14:09:11-04:00" version="13 Aug 2019 Static"/>
</buildlist>