-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_CSD03
-
Fix Version/s: V4.0_CSD04
-
Component/s: Data Aggregation
-
Labels:None
-
Environment:
Applied
-
Proposal:
-
Resolution:
Consider a client processing entities according to their hierarchical structure imposed by the given hierarchy annotation.
If the client wants to retrieve the descendants for the next three levels, this could be accomplished with a single request that makes use of a (cyclic) navigation property pointing to the children of a node. Assuming this navigation property has name childrenNodes, and the corresponding navigation property annotated as ParentNavigationProperty has name parentNode, the request would be:
GET set(nodeId)?$expand=childrenNodes($levels=3;$select=parentNode/nodeId,nodeId)
In order to let clients detect the availability of such navigations, the existing RecursiveHierarchy term needs to be Extended as proposed.