Table Tasks
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint |
|---|---|---|
| SELECT | get_tasks | |
| INSERT | ||
| UPDATE | ||
| UPSERT | ||
| DELETE | ||
| LOOKUP | get_task |
Examples
SSIS
Use Asana Connector in API Source component to read data or in API Destination component to read/write data:
Read from Tasks table using API Source
| Required Parameters | |
|---|---|
| QueryBy | Fill-in the parameter... |
| Optional Parameters | |
| Project Id | |
| Workspace Id | |
| Assignee Id | |
| Section Id | |
| Tag Id | |
| UserTaskListId | |
| Completed Since | |
| Modified Since | |
| Continue On 404 Error (When record not found) | False |
Read/write to Tasks table using API Destination
| Required Parameters | |
|---|---|
| QueryBy | Fill-in the parameter... |
| Optional Parameters | |
| Project Id | |
| Workspace Id | |
| Assignee Id | |
| Section Id | |
| Tag Id | |
| UserTaskListId | |
| Completed Since | |
| Modified Since | |
| Continue On 404 Error (When record not found) | False |
ODBC application
Use these SQL queries in your ODBC application data source:
List tasks (default project)
<p>Returns all tasks from the default project configured in the connection. For another project, supply the project ID to filter. You can also restrict by completion or modification time for incremental syncs.</p>
SELECT * FROM Tasks
List tasks for a project
<p>Returns all tasks for a specific project. Supply the project ID to filter by project. You can also restrict results by completion or modification time.</p>
SELECT * FROM Tasks WITH (ProjectId='1200652735638082')
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List tasks (default project)
<p>Returns all tasks from the default project configured in the connection. For another project, supply the project ID to filter. You can also restrict by completion or modification time for incremental syncs.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Tasks';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];
List tasks for a project
<p>Returns all tasks for a specific project. Supply the project ID to filter by project. You can also restrict results by completion or modification time.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM Tasks WITH (ProjectId=''1200652735638082'')';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];