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

Clarify; returning content from a data modification should be same as GET

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_OS
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Clarify that, when returning content from an insert or update, services should return the full entity (or at least the 'default properties") that would be returned from GET. Note that this should not affect existing rules around expanded content.

      Accepted: https://www.oasis-open.org/committees/download.php/52887/odata-meeting-72_on-20140501-minutes.html#odata-646

      Show
      Clarify that, when returning content from an insert or update, services should return the full entity (or at least the 'default properties") that would be returned from GET. Note that this should not affect existing rules around expanded content. Accepted: https://www.oasis-open.org/committees/download.php/52887/odata-meeting-72_on-20140501-minutes.html#odata-646

      Description

      In the section on data modification (update/create) we say that the service may return the representation of the entity but we don't say, especially for PATCH, whether this should return just the specified properties or the full entity. We should clarify that services are expected return the full entity (or at least the 'default properties") that would be returned from GET.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo (Inactive)
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: