addTask

Adds a Workbook task to the project. If valid information is sent, a record ID for the task is returned. A SOAP error envelope is returned if the operation fails.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.
pTask CTask Task fields and properties.

Return value

Value Type
recordID long

Example

CTask task = new CTask();

 

task.summary = "Task summary";

task.description = "Description detailing the purpose of the task.";

 

long taskID = ttsdk.addTask(cookie, task);