[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-741) Mismatch between explanatory text and URL in example 96
[ https://issues.oasis-open.org/browse/ODATA-741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Zurmuehl updated ODATA-741: ---------------------------------- Description: Example 96 reads: all employees with their manager, manager's manager, and manager's manager's manager http://host/service/Employees?$expand=Model.Manager/DirectReports($levels=3) In Part 1 Protocol we use essentialy the same Request with the correct explanation. Example 41: return each employee from the Employees entity set and, for each employee that is a manager, return all direct reports, recursively to four levels http://contoso.com/HR/Employees?$expand=Model.Manager/DirectReports($levels=4) We can either change the text of example 96 to: Return each employee from the Employees entity set and, for each employee that is a manager, return all direct reports, recursively to three levels OR Change the URL of example 96 to http://host/service/Employees?$expand=ReportsTo($levels=3) was: Example 96 reads: all employees with their manager, manager's manager, and manager's manager's manager http://host/service/Employees?$expand=Model.Manager/DirectReports($levels=3) In Part 1 Protocol we use essentialy the same Request with the correct explanation. Example 41: return each employee from the Employees entity set and, for each employee that is a manager, return all direct reports, recursively to four levels http://contoso.com/HR/Employees?$expand=Model.Manager/DirectReports($levels=4) > Mismatch between explanatory text and URL in example 96 > ------------------------------------------------------- > > Key: ODATA-741 > URL: https://issues.oasis-open.org/browse/ODATA-741 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Bug > Components: OData URL Conventions > Affects Versions: V4.0_ERRATA02 > Reporter: Martin Zurmuehl > Fix For: V4.0_ERRATA03 > > > Example 96 reads: all employees with their manager, manager's manager, and manager's manager's manager > http://host/service/Employees?$expand=Model.Manager/DirectReports($levels=3) > In Part 1 Protocol we use essentialy the same Request with the correct explanation. > Example 41: return each employee from the Employees entity set and, for each employee that is a manager, return all direct reports, recursively to four levels > http://contoso.com/HR/Employees?$expand=Model.Manager/DirectReports($levels=4) > We can either change the text of example 96 to: > Return each employee from the Employees entity set and, for each employee that is a manager, return all direct reports, recursively to three levels > OR > Change the URL of example 96 to > http://host/service/Employees?$expand=ReportsTo($levels=3) -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]