Reference

Endpoint Get Project Details


Name

get_project

Description

Gets the details of the specified project within the organization by its project Id. [API reference]

Related Tables

Projects

Parameters

Parameter Required Options
Name: Id

Label: Id

YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(500) 500
Name DT_WSTR nvarchar(500) 500
Description DT_WSTR nvarchar(1160) 1160
Url DT_WSTR nvarchar(1000) 1000
State DT_WSTR nvarchar(100) 100
Revision DT_I4 int
Visibility DT_WSTR nvarchar(100) 100
LastUpdateTime DT_DBTIMESTAMP datetime
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
Project 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 Projects 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
Projects
Required Parameters
Id Fill-in the parameter...
SSIS API Source - Read from table or endpoint

API Destination

This Endpoint belongs to the Projects table, therefore it is better to use it, instead of accessing the endpoint directly. Use this table and table-operation pair to get project 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
Projects
Lookup
Required Parameters
Id Fill-in the parameter...
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Get project by ID

<p>Returns a single project by its GUID. Use the project Id from the list of projects when you need full details for one project (e.g. name, description, visibility, last update time).</p>

SELECT * FROM Projects WHERE Id='a80fb082-f7c4-4345-911d-1c05ad1b1fc9'

get_project endpoint belongs to Projects 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 project by ID

<p>Returns a single project by its GUID. Use the project Id from the list of projects when you need full details for one project (e.g. name, description, visibility, last update time).</p>

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Projects WHERE Id=''a80fb082-f7c4-4345-911d-1c05ad1b1fc9''';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

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