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

Explicitly state what is returned on create and update

    XMLWordPrintable

    Details

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

      Optimistically applied

    • Proposal:
      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 .
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/64946/odata-v4.01-wd06-part1-protocol-2019-03-22.docx  

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: