Back to Project Management Service

Method Details for CreateSubTask.

Creates a Task as a Sub-task to an existing Task. The new Task is placed as the last Sub-task in the WBS-structure of the Parent-task

Parameters

  • task Task The task to be created
  • parentTaskId Integer The integer ID of the Parent-task the created Task shold be added to
  • projectID Integer The integer ID of the Project the holds the Parent-task
  • token SecurityToken

Returns

The task in the

Remarks

Note: Put Task.ProjectSubContractID to 0 to inherit from the contract of the parent task