[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:all-tabpanel ] Ralf Handl updated ODATA-479: ----------------------------- Proposal: Content-ID referencing in request bodies is allowed: PUT $2/SingleValuedNavigationProperty { "@odata.context": "http://host/service/$metadata#$ref", "@odata.id": "$1" } POST SomeEntitySet { ..., "SingleNavigationProperty@odata.bind":"$2", "MultiValuedNavigationProperty@odata.bind":["$1","$3","SomeEntitySet(42)"], ... } Servcies allowing $<content-id value> syntax in request bodies for inserting links SHOULD advertise this with the new term BatchContentIdReferencingInRequestBodiesSupported in the Capabilities vocabulary: <Term Name="BatchContentIdReferencingInRequestBodiesSupported" Type="Core.Tag" DefaultValue="true" AppliesTo="EntityContainer"> <Annotation Term="Core.Description" String="Service supports Content-ID referencing in request bodies" /> </Term> was: Allow $<content-id value> syntax in request bodies for inserting links: PUT $2/SingleValuedNavigationProperty { "@odata.context": "http://host/service/$metadata#$ref", "@odata.id": "$1" } POST SomeEntitySet { ..., "SingleNavigationProperty@odata.bind":"$2", "MultiValuedNavigationProperty@odata.bind":["$1","$3","SomeEntitySet(42)"], ... } > 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 Protocol, Vocabularies > 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]