Reference

Endpoint Get Team Details


Name

get_team

Description

Gets the details of the specified team in the default project within the organization by its team Id or team name. [API reference]

Related Tables

Teams

Parameters

Parameter Required Options
Name: ApiVersion

Label: API Version

YES
Option Value
7.0-preview 7.0-preview
7.1-preview.2 7.1-preview.2
Name: Id

Label: Team Id or Name

YES
Name: Project

Label: Project Name

The Name of the project.
YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(200) 200
Name DT_WSTR nvarchar(200) 200
ProjectId DT_WSTR nvarchar(200) 200
ProjectName DT_WSTR nvarchar(200) 200
Url DT_WSTR nvarchar(2048) 2048
Description DT_WSTR nvarchar(4000) 4000
IdentityUrl DT_WSTR nvarchar(2048) 2048
If the column you are looking for is missing, consider customizing Azure DevOps Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(300) 300
Required columns that you need to supply are bolded.

Examples

SSIS

Use Azure DevOps Connector in API Source or in API Destination SSIS Data Flow components to read or write data.

API Source

This Endpoint belongs to the Teams table, therefore it is better to use it, instead of accessing the endpoint directly:

API Source - Azure DevOps
Read and write Azure DevOps (Cloud or On-Premises) data effortlessly. Integrate, manage, and automate work items, projects, and teams — almost no coding required.
Azure DevOps
Teams
Required Parameters
API Version Fill-in the parameter...
Team Id or Name Fill-in the parameter...
Project Name Fill-in the parameter...
SSIS API Source - Read from table or endpoint

API Destination

This Endpoint belongs to the Teams table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get team details:

API Destination - Azure DevOps
Read and write Azure DevOps (Cloud or On-Premises) data effortlessly. Integrate, manage, and automate work items, projects, and teams — almost no coding required.
Azure DevOps
Teams
Lookup
Required Parameters
API Version Fill-in the parameter...
Team Id or Name Fill-in the parameter...
Project Name Fill-in the parameter...
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get team by ID

<p>Returns a single team by its GUID. Use the team Id from the list of teams when you need full details for one team (e.g. name, description, project, identity URL).</p>

SELECT * FROM Teams WHERE Id='a0aa750f-1550-44af-a056-223696077df6'

get_team endpoint belongs to Teams table(s), and can therefore be used via those table(s).

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get team by ID

<p>Returns a single team by its GUID. Use the team Id from the list of teams when you need full details for one team (e.g. name, description, project, identity URL).</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Teams WHERE Id=''a0aa750f-1550-44af-a056-223696077df6''';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

get_team endpoint belongs to Teams table(s), and can therefore be used via those table(s).