getsandboxlist.do

Veracode APIs

The getsandboxlist.do call returns the list of sandboxes associated with the specified application.

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

Resource URL

https://analysiscenter.veracode.com/api/5.0/getsandboxlist.do

Parameters

Name Type Description
app_id

Required

Integer Application ID.

HTTPie Example

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

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

HTTPie Results

The getsandboxlist.do call returns the sandboxlist XML document, which references the sandboxlist.xsd schema file. You can use the XSD schema file to validate the XML data. See the sandboxlist.xsd schema documentation.
<?xml version="1.0" encoding="UTF-8"?>

<sandboxlist 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;4.0&#x2f;sandboxlist" 
      xsi:schemaLocation="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;4.0&#x2f;sandboxlist 
      https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;resource&#x2f;4.0&#x2f;sandboxlist.xsd" 
      sandboxlist_version="1.0" account_id="<account id>" app_id="<app id>">
   <sandbox sandbox_id="<"sandbox id>"> sandbox_name="Project Security" owner="<Veracodeusername>" 
         last_modified="2019-09-17T14&#x3a;08&#x3a;35-04&#x3a;00">
      <customfield name="Custom 1" value=""/>
      <customfield name="Custom 2" value=""/>
      <customfield name="Custom 3" value=""/>
      <customfield name="Custom 4" value=""/>
      <customfield name="Custom 5" value=""/>
   </sandbox>
   <sandbox sandbox_id="<sandbox id>" sandbox_name="Project Refactor" owner="<Veracodeusername>" 
         last_modified="2019-09-17T14&#x3a;04&#x3a;13-04&#x3a;00">
      <customfield name="Custom 1" value=""/>
      <customfield name="Custom 2" value=""/>
      <customfield name="Custom 3" value=""/>
      <customfield name="Custom 4" value=""/>
      <customfield name="Custom 5" value=""/>
   </sandbox>
</sandboxlist>