Get Workspace Teams
Name
get_workspace_teams
Description
Returns records for all teams in the workspace visible to the authorized user.
Related Tables
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
Id |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
Name |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
Description |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
HtmlDescription |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
OrganizationId |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
OrganizationName |
DT_WSTR
|
nvarchar(255)
|
255 | False |
|
PermalinkUrl |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
Visibility |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
EditTeamNameOrDescriptionAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
EditTeamVisibilityOrTrashTeamAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
MemberInviteManagementAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
GuestInviteManagementAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
JoinRequestManagementAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
TeamContentManagementAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
TeamMemberRemovalAccessLevel |
DT_WSTR
|
nvarchar(100)
|
100 | False |
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | 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 component to read data or in API Destination component to read/write data:
Read from WorkspaceTeams table using API Destination
This Endpoint belongs to WorkspaceTeams table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

ODBC application
Use these SQL queries in your ODBC application data source:
Get workspace teams
SELECT * FROM get_workspace_teams
WITH
(
"WorkspaceId" = 'abcd-1234-workspaceid'
)
get_workspace_teams
endpoint belongs to
WorkspaceTeams
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 workspace teams
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_workspace_teams
WITH
(
"WorkspaceId" = ''abcd-1234-workspaceid''
)';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];
get_workspace_teams
endpoint belongs to
WorkspaceTeams
table(s), and can therefore be used via those table(s).