Table SubTasks
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_subtasks | |
| 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 SubTasks table using API Source
| Required Parameters | |
|---|---|
| QueryBy | Fill-in the parameter... |
| Optional Parameters | |
| Parent Task Id | |
| 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 SubTasks table using API Destination
| Required Parameters | |
|---|---|
| QueryBy | Fill-in the parameter... |
| Optional Parameters | |
| Parent Task Id | |
| 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:
Read Sub Tasks - First Level (default project)
Read all first level sub tasks for default project. If you sub tasks for 3rd, 4th level deep then this wont capture.
SELECT * FROM SubTasks
Read Sub Tasks - First Level for specified project
Read all first level sub tasks for a specified project id. If you sub tasks for 3rd, 4th level deep then this wont capture.
SELECT * FROM SubTasks WITH (ProjectId='1200652735638082')
Read Sub Tasks for a specified parent task
SELECT * FROM SubTasks WITH(QueryBy='task', TaskId='1207150838176996')
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Read Sub Tasks - First Level (default project)
Read all first level sub tasks for default project. If you sub tasks for 3rd, 4th level deep then this wont capture.
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SubTasks';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];
Read Sub Tasks - First Level for specified project
Read all first level sub tasks for a specified project id. If you sub tasks for 3rd, 4th level deep then this wont capture.
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SubTasks WITH (ProjectId=''1200652735638082'')';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];
Read Sub Tasks for a specified parent task
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SubTasks WITH(QueryBy=''task'', TaskId=''1207150838176996'')';
EXEC (@MyQuery) AT [LS_TO_ASANA_IN_GATEWAY];