getNodesAndCount Method

Retrieves nodes.

getNodesAndCount(requestOptions: Paged<HierarchyRequestOptions<IModelConnection>>, parentKey?: NodeKey): Promise<object>

Parameter Type Description
requestOptions Paged<HierarchyRequestOptions<IModelConnection>> options for the request
parentKey NodeKey Key of the parent node.

Returns - A promise object that returns either a nodes response object with nodes and nodes count on success or an error string on error.

Defined in

Last Updated: 08 January, 2020