getteamlist.do (Deprecated)
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. Ensure you access the APIs with the domain for your region.
REST API equivalent
The REST API equivalent of this call is a GET
to /api/authn/v2/teams
using the Identity API. Veracode strongly recommends that you use the REST API for this action. For new integrations, always use the REST APIs.
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.
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.
<?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>