The getteamlist.do call returns a list of the user teams in 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/getteamlist.do
Permissions
An API service account requires the Admin API role to use this call. A user account requires the Administrator role to 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 teamlist.xml "https://analysiscenter.veracode.com/api/3.0/getteamlist.do"
HTTPie Results
The getteamlist.do call returns the teamlist XML
document, which references the teamlist.xsd schema file. You can use the XSD schema file to validate the XML data.
See the teamlist.xsd
schema documentation.
<?xml version="1.0" encoding="UTF-8"?> <teamlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://analysiscenter.veracode.com/schema/teamlist/3.0" xsi:schemaLocation="https://analysiscenter.veracode.com/schema/teamlist/3.0 https://analysiscenter.veracode.com/resource/3.0/teamlist.xsd" teamlist_version="3.0" account_id="<account id>"> <team team_id="145696" team_name="Debug Team" creation_date="09/06/2019"/> <team team_id="144659" team_name="Demo Team" creation_date="08/13/2019"/> <team team_id="145690" team_name="Engineering" creation_date="09/06/2019"/> <team team_id="145675" team_name="Quality Team" creation_date="09/06/2019"/> <team team_id="145689" team_name="Release Team" creation_date="09/06/2019"/> </teamlist>