Information Classification: External Restricted.
See https://www.chili-publish.com/security
Webservice Functions - ResourceGetTreeLevel
Returns the tree structure of the Resource (if the type of the resource is "directory_file" or "directory_object"), with a maximum number of sub-folders included. Use '1' to get the files and folders without any files inside the folders
Declaration
public string ResourceGetTreeLevel ( string apiKey, string resourceName, string parentFolder, int numLevels );
Arguments
Name | Type | Description |
|---|---|---|
apiKey | The API key previously generated by calling the GenerateApiKey function | |
resourceName | The name of the resource | |
parentFolder | The folder where to start listing contents | |
numLevels | int | The amount of levels to return |
Returns
A valid XML string
Security rights needed
Browse
Apply on resource
Resource from function parameter resourceName