Endpoint Get Projects
Name
get_projects
Description
Related Tables
Parameters
| Parameter | Required | Options | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Name:
Label: Workspace Id |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: Team Id |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: Fields |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: Limit Results per page. The number of objects to return per page. The value must be between 1 and 100. |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Id |
DT_WSTR
|
nvarchar(50)
|
50 | |
| Name |
DT_WSTR
|
nvarchar(255)
|
255 | |
| Archived |
DT_BOOL
|
bit
|
||
| Color |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CreatedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| CurrentStatusId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CurrentStatusTitle |
DT_WSTR
|
nvarchar(100)
|
100 | |
| CurrentStatusText |
DT_NTEXT
|
nvarchar(MAX)
|
||
| CurrentStatusHtmlText |
DT_NTEXT
|
nvarchar(MAX)
|
||
| CurrentStatusColor |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CurrentStatusAuthorId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CurrentStatusAuthorName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| CurrentStatusCreatedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| CurrentStatusCreatedById |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CurrentStatusCreatedByName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| CurrentStatusModifiedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| CurrentStatusUpdateId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CurrentStatusUpdateTitle |
DT_WSTR
|
nvarchar(100)
|
100 | |
| CurrentStatusUpdateResourceSubtype |
DT_WSTR
|
nvarchar(100)
|
100 | |
| CustomFieldSettings |
DT_NTEXT
|
nvarchar(MAX)
|
||
| DefaultAccessLevel |
DT_WSTR
|
nvarchar(50)
|
50 | |
| DefaultView |
DT_WSTR
|
nvarchar(50)
|
50 | |
| DueDate |
DT_WSTR
|
nvarchar(50)
|
50 | |
| DueOn |
DT_WSTR
|
nvarchar(50)
|
50 | |
| HtmlNotes |
DT_NTEXT
|
nvarchar(MAX)
|
||
| Members |
DT_WSTR
|
nvarchar(500)
|
500 | |
| ModifiedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| Notes |
DT_NTEXT
|
nvarchar(MAX)
|
||
| Public |
DT_BOOL
|
bit
|
||
| StartOn |
DT_WSTR
|
nvarchar(50)
|
50 | |
| WorkspaceId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| WorkspaceName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| CustomFields |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
| Completed |
DT_BOOL
|
bit
|
||
| CompletedAt |
DT_DBTIMESTAMP
|
datetime
|
||
| CompletedById |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CompletedByName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| Followers |
DT_WSTR
|
nvarchar(500)
|
500 | |
| OwnerId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| OwnerName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| TeamId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| TeamName |
DT_WSTR
|
nvarchar(255)
|
255 | |
| Icon |
DT_WSTR
|
nvarchar(50)
|
50 | |
| PermalinkUrl |
DT_WSTR
|
nvarchar(500)
|
500 | |
| ProjectBriefId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CreatedFromTemplateId |
DT_WSTR
|
nvarchar(50)
|
50 | |
| CreatedFromTemplateName |
DT_WSTR
|
nvarchar(255)
|
255 |
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use Asana 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:
| Optional Parameters | |
|---|---|
| Workspace Id | |
| Team Id | |
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 projects:
| Optional Parameters | |
|---|---|
| Workspace Id | |
| Team Id | |
ODBC application
Use these SQL queries in your ODBC application data source:
List projects
<p>Returns all projects visible to you. You can limit results to a specific workspace or team if needed. Projects are where tasks and sections live.</p>
SELECT * FROM Projects
get_projects 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:
List projects
<p>Returns all projects visible to you. You can limit results to a specific workspace or team if needed. Projects are where tasks and sections live.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Projects';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];
get_projects endpoint belongs to
Projects
table(s), and can therefore be used via those table(s).