Represent deleted entities similar to added/changed entities

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • V4.01_WD01
    • Affects Version/s: V4.01_WD01
    • Component/s: None
    • None
    • Hide

      Support the new representation with the existing /$deletedEntity everywhere in 4.01. Nest @odata.removed with a reason and additional annotations.

      Show
      Support the new representation with the existing /$deletedEntity everywhere in 4.01. Nest @odata.removed with a reason and additional annotations.

      Allow representing deleted entities similar to added/changed entities

      {
      "@odata.context":"#Orders/$entity",
      "@odata.id":"Orders(10643)",
      "ShippingAddress":

      { "Street":"23 Tsawassen Blvd.", "City":"Tsawassen", "Region":"BC", "PostalCode":"T2F 8M4" }

      ,
      },

      { "@odata.context":"#Customers/$entityDeletion", "@odata.id":"Customers('ANTON')", "@odata.reason":"deleted", /* optionally properties of the deleted entity */ "CustomerID": "ANTON", ... }

      This would allow using the same serialization template. And it looks more consistent

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

              Created:
              Updated:
              Resolved: