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

Clarify invoking an action with no parameters

    XMLWordPrintable

    Details

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

      Proposed

    • Proposal:
      Hide

      Clarify that (although a service may support no content), clients invoke an action with no non-binding parameters by passing an empty json object in the body of the request.

      Show
      Clarify that (although a service may support no content), clients invoke an action with no non-binding parameters by passing an empty json object in the body of the request.
    • Resolution:
      Show
      Applied https://www.oasis-open.org/apps/org/workgroup/odata/download.php/58168/odata-json-format-v4.0-wd09.docx

      Description

      We currently say that parameters to an action are passed in the body of a json request as a json object where each parameter is a property of the object.

      I recently had someone ask how they should invoke an action request with no (non-binding) parameters. In particular, they were wondering if they should just pass no content (as opposed to content containing an empty json object).

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: