getTaskByRecordID
Retrieves a Workbook task record based on record ID. A SOAP error envelope is returned if the operation fails.
To retrieve a task based on summary, use getTask.
To edit a task, use editTask or editTaskByRecordID.
Defects, test cases, test runs, requirements, and requirement documents in the Workbook cannot be retrieved with this operation.
Parameters
| Parameter | Type | Description |
|---|---|---|
| cookie | long | Session cookie returned by projectLogon. |
| recordID | long | Unique task record ID. |
Return value
| Value | Type |
|---|---|
| pTask | CTask |
Example
CTask task = ttsdk.getTaskByRecordID(cookie, 1);