getDocumentTree

Retrieves the requirement hierarchy from a requirement document. A SOAP error envelope is returned if the operation fails.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.
documentID long Unique requirement document record ID.

Return value

Value Type
docTreeRootNode CTreeNodeSoap

Example

CRequirementDocument reqDoc = ttsdk.getRequirementDocument(cookie, 0, "Requirement document name", false);

 

CTreeNodeSoap docTree = ttsdk.getDocumentTree(cookie, reqDoc.recordid);