Explicitly state what is returned on create and update

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • V4.01_CS02
    • Affects Version/s: V4.01_CS01
    • Component/s: Protocol
    • None
    • Environment:

      Optimistically applied

    • Hide

      Change text in 11.4.2 to (new text in green)

      Upon successful completion the service MUST respond with either 201 Created and a representation of the created entity, or 204 No Content if the request included a Prefer header with a value of return=minimal.

      Change text in 11.4.3 to (new text in green)

      Upon successful completion the service responds with either 200 OK and a representation of the updated entity, or 204 No Content.

      Show
      Change text in 11.4.2 to (new text in green) Upon successful completion the service MUST respond with either 201 Created and a representation of the created entity , or 204 No Content if the request included a Prefer header with a value of return=minimal . Change text in 11.4.3 to (new text in green) Upon successful completion the service responds with either 200 OK and a representation of the updated entity, or 204 No Content .
    • Show
      https://www.oasis-open.org/committees/download.php/64946/odata-v4.01-wd06-part1-protocol-2019-03-22.docx  

      Section 11.4.2 Create an Entity does not explicitly state what is returned in a 201 response.

      Section 11.4.3 Update an Entity does not explicitly state what is returned in a 200 response.

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

              Created:
              Updated:
              Resolved: