Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-741

Mismatch between explanatory text and URL in example 96

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA02
    • Fix Version/s: V4.0_ERRATA03
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martinzurmuehl Martin Zurmuehl
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: