gettracklist.do

Veracode APIs

The gettracklist.do call returns a list of the Veracode eLearning tracks that are available for your organization.

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

Resource URL

https://analysiscenter.veracode.com/api/3.0/gettracklist.do

Permissions

An API service account requires the Admin API role to use this call. A user account cannot use this call.

Parameters

This call takes no parameters.

HTTPie Example

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

http --auth-type=veracode_hmac -o tracklist.xml "https://analysiscenter.veracode.com/api/3.0/gettracklist.do"

HTTPie Results

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

<tracklist 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;tracklist&#x2f;3.0" 
      xsi:schemaLocation="https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;schema&#x2f;tracklist&#x2f;3.0 
      https&#x3a;&#x2f;&#x2f;analysiscenter.veracode.com&#x2f;resource&#x2f;3.0&#x2f;tracklist.xsd" 
      tracklist_version="3.0" account_id="<account id>">
   <tracks track_names="eLearning,eLearning Awareness"/>
</tracklist>