[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Created: (ODATA-38) Recursive $expand and $select
Recursive $expand and $select ----------------------------- Key: ODATA-38 URL: http://tools.oasis-open.org/issues/browse/ODATA-38 Project: OASIS Open Data Protocol (OData) TC Issue Type: Improvement Components: OData Protocol v1.0, OData URL Conventions v1.0 Affects Versions: WD01 Reporter: Ralf Handl Fix For: WD01 In recursive hierarchies (Employee -> Manager) it may be desirable to specify a depth for expansion: GET ~/Managers?$expand=4*Employees This is possible as neither digits nor the star are allowed initial characters for properties. $select needs to be extended to e.g. only select the current salary, target salary and current performance for the expanded employees, and include the number of direct reports for the two levels directly below the manager: GET ~/Managers?$expand=4*Employees&$select=*Employees/Salary,*Employees/TargetSalary,*Employees/Performance,*2Employees/NumberOfDirectReports -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]