In 4.01 decide if we can support invoking actions with no params with no body

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

      Proposed

    • Hide

      OData 4.01 services MUST support no content (as well as empty object), but as this was not called out until 4.01 clarify that interoperable clients should pass an empty json object in the body of the request.

      Show
      OData 4.01 services MUST support no content (as well as empty object), but as this was not called out until 4.01 clarify that interoperable clients should pass an empty json object in the body of the request.
    • Show
      https://www.oasis-open.org/apps/org/workgroup/odata/download.php/59030/odata-json-format-v4.01-wd01.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:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: