The Subtasks type holds information about a subtask relationship. The Subtasks type is used only for informational purposes in the TTItem response. The Subtasks type parameters are listed below.


Name Type Description
parentItemId ItemIdentifier Identifies the parent item.
subtask ItemIdentifier Identifies the subtask item.
extendedData ExtendedData Placeholder for future arguments.


The Subtasks type contains the parent and child items that exist in a subtask relationship. The Subtasks type is returned in the TTItem response to inform you about subtask relationships on returned items. The Subtasks argument is left empty in the CreatePrimaryItems, CreateAuxiliaryItems, and TransitionItems calls. Instead, you must use the LinkSubtask call to create subtask relationships between items.


The following XML shows the parent and subtask items in the <ae:subtasks> parameter of two separate TTItem responses. In this example, a subtask relationship was created using the LinkSubtask call, followed by a GetItems call against each item in the relationship.

GetItems against the parent item (where the TS_ID of the parent is 74) returns:

   <ae:subtask xsi:type="ae:ItemIdentifier">

GetItems against the child item (where the TS_ID of the child is 75) returns:

   <ae:parentItemId xsi:type="ae:ItemIdentifier">