getFolderTree
Retrieves the folder hierarchy for a public or private folder based on path. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
treeRootFolderPath | string | Full path to the folder. Do not include a trailing slash (e.g. /Public/folder A/folder a). |
Return value
Value | Type |
---|---|
folderTreeRoot | CTreeNodeSoap |
Example
CFolder folder = ttsdk.getFolder(cookie, "/Public/test folder 1");
CTreeNodeSoap folderTree = ttsdk.getFolderTree(cookie, folder.path);