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-1612) Capabilities for creating a relation to an existing entity during insert


Heiko Theissen created ODATA-1612:
-------------------------------------

             Summary: Capabilities for creating a relation to an existing entity during insert
                 Key: ODATA-1612
                 URL: https://issues.oasis-open.org/browse/ODATA-1612
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Vocabularies
            Reporter: Heiko Theissen


The following request creates an Employee entity and associates it to an existing Employee entity via the {{Manager}} navigation property.
{code}
POST Employees

{
  "Manager@odata.bind": "Employees(0)",
  "Name": "Peter"
}
{code}

Is there a Capabilities annotation on the navigation property that would forbid this operation?

* {{UpdateRestrictions/NonUpdatableNavigationProperties}} controls changing a relation during update.
* {{InsertRestrictions/NonUpdatableNavigationProperties}} controls creating a relation together with the related entity during insert.
* What controls creating a relation to an existing entity during insert?



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