ODBC guide

List first-level subtasks for a project


Returns first-level subtasks for a specific project. Supply the project ID. Only the first level of subtasks is returned; deeper nesting is not included. To get subtasks for a single parent task, use the parent task ID instead of the project.

SELECT * FROM SubTasks WITH (ProjectId='1200652735638082')