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
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
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
|
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Project Id |
DT_WSTR
|
nvarchar(300)
|
300 |
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:
| Required Parameters | |
|---|---|
| Id | Fill-in the parameter... |
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:
| Required Parameters | |
|---|---|
| Id | Fill-in the parameter... |
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).