Asana Connector
Documentation
Version: 1
Documentation

Table Goals


Parameters

Parameter Label Required Options Description Help
There are no parameters

Supported Operations

Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.
Method Supported Reference EndPoint
SELECT get_goals
INSERT
UPDATE
UPSERT
DELETE
LOOKUP

Examples

SSIS

Use Asana Connector in API Source component to read data or in API Destination component to read/write data:

Read from Goals table using API Source

Asana
Goals
SSIS API Source - Read from table or endpoint

Read/write to Goals table using API Destination

Asana
Goals
Select
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Read Project Goals

Read Goals for a specified Project Id.

SELECT * FROM Goals WITH(Project='1206673375982078')

Read Workspace Goals

Read Goals for a specified Workspace Id.

SELECT * FROM Goals WITH(Workspace='1200442900140748')

Read Team Goals

Read Goals for a specified Team Id.

SELECT * FROM Goals WITH(Team='1200442900140748')

SQL Server

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

Read Project Goals

Read Goals for a specified Project Id.

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Goals WITH(Project=''1206673375982078'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_ASANA_IN_DATA_GATEWAY];

Read Workspace Goals

Read Goals for a specified Workspace Id.

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Goals WITH(Workspace=''1200442900140748'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_ASANA_IN_DATA_GATEWAY];

Read Team Goals

Read Goals for a specified Team Id.

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Goals WITH(Team=''1200442900140748'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_ASANA_IN_DATA_GATEWAY];