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-479) Allow Content-ID referencing in request bodies for inserting links to newly created entities


    [ https://issues.oasis-open.org/browse/ODATA-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52040#comment-52040 ] 

Ralf Handl edited comment on ODATA-479 at 12/1/14 8:14 AM:
-----------------------------------------------------------

This seems to be a feature that servers MAY already allow with version 4.0, because Part 1, section 11.7.3.1 states that "Entities created by an Insert request within a change set can be referenced by subsequent requests within the same change set in places where a resource path to an existing entity can be specified." 

Two of these places where a resource path can be specified are the places in request bodies in the examples above. The JSON format requires the odata.id in these places, which for servers using conventional ids is identical to the resource path.



was (Author: ralfhandl):
This seems to be an extension that servers MAY already allow with version 4.0, because Part 1, section 11.7.3.1 states that "Entities created by an Insert request within a change set can be referenced by subsequent requests within the same change set in places where a resource path to an existing entity can be specified." 

Two of these places where a resource path can be specified are the places in request bodies in the examples above. The JSON format requires the odata.id in these places, which for servers using conventional ids is identical to the resource path.


> Allow Content-ID referencing in request bodies for inserting links to newly created entities
> --------------------------------------------------------------------------------------------
>
>                 Key: ODATA-479
>                 URL: https://issues.oasis-open.org/browse/ODATA-479
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData Batch Processing Format 
>    Affects Versions: V4.0_CS01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_ERRATA03
>
>
> Object graphs that are not trees can require inserting links to entities that just have been created in the same change set. This can only be done with content-id references within request bodies.



--
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]