Clarify invoking an action with no parameters

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

      Proposed

    • 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.
    • Show
      Applied https://www.oasis-open.org/apps/org/workgroup/odata/download.php/58168/odata-json-format-v4.0-wd09.docx

      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).

            Assignee:
            Michael Pizzo (Inactive)
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: