olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Amend (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLINGO-1035) Support creating entities with inline URIs to existing entities
Date Mon, 23 Jan 2017 15:59:26 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Amend updated OLINGO-1035:
------------------------------------
    Fix Version/s:     (was: V2 2.0.8)
                   V2 2.0.9

> Support creating entities with inline URIs to existing entities
> ---------------------------------------------------------------
>
>                 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.9
>
>         Attachments: 0001-OLINGO-1035-Accept-inline-URI-to-create-a-reference-.patch
>
>
> Adding support for posting entities with URI references to other entities.
> For example, given a *Building* posted to {{/Test.svc/Buildings}} with:
> {code:javascript}
> {
>   "Id": "B01",
>   "Name": "Building 1"
> }
> {code}
> it is possible to add a *Room* to {{/Test.svc/Rooms}} with:
> {code:javascript}
> {
>   "Id": "R01-01",
>   "Name": "Room 01",
>   "Building": {
>     "__metadata": {
>       "uri": "Buildings('B01')"
>     }
>   }
> }
> {code}
> and have the new entity reference the existing one correctly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message