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-986) Support POST to cast segment following a collection


Michael Pizzo created ODATA-986:
-----------------------------------

             Summary: Support POST to cast segment following a collection
                 Key: ODATA-986
                 URL: https://issues.oasis-open.org/browse/ODATA-986
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData Protocol, OData URL Conventions
    Affects Versions: V4.0_ERRATA03
         Environment: [Proposed]
            Reporter: Michael Pizzo
             Fix For: V4.01_WD01


Today we support:
    GET ~Employees/ns.Manager

in order to retrieve only those employees from the Employees entity set that are managers.

It would be consistent to support:
    POST ~Employees/ns.Manager
To add a manager to the Employees entity set without having to specify in the payload that the employee was an @odata.type=ns.Manager

This would be particularly useful in cases where the cast segment specified a "marker type" that was trivially derived from the collection type.



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