Michael Strasser created OLINGO-1035:

             Summary: Support creating entities with inline URIs to existing 
                 Key: OLINGO-1035
                 URL: https://issues.apache.org/jira/browse/OLINGO-1035
             Project: Olingo
          Issue Type: Improvement
          Components: odata2-annotation
    Affects Versions: V2 2.0.7
            Reporter: Michael Strasser
            Priority: Minor
             Fix For: V2 2.0.8

Adding support for posting entities with URI references to other entities.

For example, given a *Building* posted to {{/Test.svc/Buildings}} with:
  "Id": "B01",
  "Name": "Building 1"
it is possible to add a *Room* to {{/Test.svc/Rooms}} with:
  "Id": "R01-01",
  "Name": "Room 01",
  "Building": {
    "__metadata": {
      "uri": "Buildings('B01')"
and have the new entity reference the existing one correctly.

This message was sent by Atlassian JIRA

Reply via email to