gettracklist.do
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. Ensure you access the APIs with the domain for your region.
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.
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.
<?xml version="1.0" encoding="UTF-8"?>
<tracklist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://analysiscenter.veracode.com/schema/tracklist/3.0"
xsi:schemaLocation="https://analysiscenter.veracode.com/schema/tracklist/3.0
https://analysiscenter.veracode.com/resource/3.0/tracklist.xsd"
tracklist_version="3.0" account_id="<account id>">
<tracks track_names="eLearning,eLearning Awareness"/>
</tracklist>