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

14.2: Explicitly allow annotations on deleted entities

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA03
    • Fix Version/s: V4.01_WD01
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Support annotations in the following:
      -AddedLinks
      -DeletedLinks
      -Deleted Entries
      -References

      In JSON, clients should be prepared for annotations in any object and any name/value pair in a json payload. Clients should never error on an unexpected annotation.

      Show
      Support annotations in the following: -AddedLinks -DeletedLinks -Deleted Entries -References In JSON, clients should be prepared for annotations in any object and any name/value pair in a json payload. Clients should never error on an unexpected annotation.

      Description

      The delta format identifies deleted entities via their entity id.

      For legacy systems that don't store the entity id and only know the underlying key values it would be helpful if the sender would annotate the deleted entity JSON objects with the original key values, e.g.

      {
      "@odata.context":"#Customers/$deletedEntity",
      "id":"Customers('ANTON')",
      "@Legacy.entityKey":

      { "ID":"ANTON" }

      ,
      "reason":"deleted"
      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: