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-1338) Alternative representation of entity references using key properties


Ralf Handl created ODATA-1338:
---------------------------------

             Summary: Alternative representation of entity references using key properties
                 Key: ODATA-1338
                 URL: https://issues.oasis-open.org/browse/ODATA-1338
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: JSON Format
    Affects Versions: V4.01_CS02
            Reporter: Ralf Handl
             Fix For: V4.02_WD01


Entity references are currently represented as a JSON object containing an {{@id}} member, e.g. 
{code}
{
  "@context": "$metadata#$ref",
  "@id": "Orders(10643)"
}
{code}

An easier-to-digest representation would be to include instead the key properties:
{code}
{
  "@context": "$metadata#$ref",
  "OrderID": 10643
}
{code}

This is similar to the V4.01 format for deleted entities in delta payloads



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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