OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1010) Represent deleted entities similar to added/changed entities


Ralf Handl created ODATA-1010:
---------------------------------

             Summary: Represent deleted entities similar to added/changed entities
                 Key: ODATA-1010
                 URL: https://issues.oasis-open.org/browse/ODATA-1010
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
            Reporter: Ralf Handl


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 :-)



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]