Allow omitting key properties from PUT and PATCH request bodies and from nested entities in deep-insert requests

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • V4.0_WD01
    • Affects Version/s: V4.0_WD01
    • Component/s: Protocol
    • None
    • Environment:

      [Proposed]

    • Hide

      In PUT and PATCH requests key properties can't be changed, and their immutable value can be derived from the request URL, so they MAY be omitted from the request body.

      In POST requests properties that are marked as "store generated", i.e. the server determines their value, MAY be omitted from the request body.

      In deep-insert requests the key properties of nested entities that are tied to key properties of the enclosing entity by a referential constraint MAY be omitted from the request body.

      Accepted: https://www.oasis-open.org/committees/download.php/48411/odata-meeting-27_on-20130228-minutes.html#odata-265

      Show
      In PUT and PATCH requests key properties can't be changed, and their immutable value can be derived from the request URL, so they MAY be omitted from the request body. In POST requests properties that are marked as "store generated", i.e. the server determines their value, MAY be omitted from the request body. In deep-insert requests the key properties of nested entities that are tied to key properties of the enclosing entity by a referential constraint MAY be omitted from the request body. Accepted: https://www.oasis-open.org/committees/download.php/48411/odata-meeting-27_on-20130228-minutes.html#odata-265
    • Show
      https://www.oasis-open.org/committees/download.php/48439/odata-core-v4.0-wd01-part1-protocol-2013-03-05-RH.doc Accepted: https://www.oasis-open.org/committees/download.php/48549/odata-meeting-29_on-20130314-minutes.html#odata-265

          Assignee:
          handl
          Reporter:
          handl
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Created:
            Updated:
            Resolved: