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

Content referencing in batch requests

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CSD01
    • Fix Version/s: V4.01_CSD02
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      Allow referencing values from response bodies in subsequent requests

      • in $filter
      • in request bodies of subsequent modification requests

      Value references use JSON Pointer syntax to address parts of the response body, e,g.

      $filter=City eq $42/Addresses/3/City

      Point out that content-id value must not collide with $root or any other $ literal valid in expressions

      Show
      Allow referencing values from response bodies in subsequent requests in $filter in request bodies of subsequent modification requests Value references use JSON Pointer syntax to address parts of the response body, e,g. $filter=City eq $42/Addresses/3/City Point out that content-id value must not collide with $root or any other $ literal valid in expressions
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/60366/odata-v4.01-wd02-part1-protocol-2017-03-24.docx

      Description

      If a data modification is implemented as an action, a subsequent GET request may need to use values from the action response body as parameters for a filter.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: