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-836) Allow applying actions to a filtered collection of entities


     [ https://issues.oasis-open.org/browse/ODATA-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-836:
-----------------------------

    Proposal: 
Either add a path segment that takes a boolean expression, optionally deferred to a parameter alias, or allow POST in combination with $apply

POST Products/$filter(Age gt 3)/Special.Discount
POST Products/$filter(@f)/Special.Discount?@f=Age  gt 3

POST Products?$apply=filter(Age gt 3)/Special.Discount

Consider adding path equivalents of other query options:

POST /Orders/$filter(@f)/$top(5)/Ship?@f=Details/ShippingDate lt now()

  was:
Either add a path segmentthat takes a boolean expression, optionally deferred to a parameter alias, or allow POST in combination with $apply

POST Products/$filter(Age gt 3)/Special.Discount
POST Products/$filter(@f)/Special.Discount?@f=Age  gt 3

POST Products?$apply=filter(Age gt 3)/Special.Discount


> Allow applying actions to a filtered collection of entities
> -----------------------------------------------------------
>
>                 Key: ODATA-836
>                 URL: https://issues.oasis-open.org/browse/ODATA-836
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData Extension for Data Aggregation, OData URL Conventions
>    Affects Versions: V4.0_ERRATA02, V4.0_CS01
>         Environment: Set Operations
>            Reporter: Ralf Handl
>              Labels: Extension
>             Fix For: V4.01_WD01, V4.0_CSD04
>
>
> Currently it is not possible to filter an entity set and then apply an action to the entities passing the filter, e.g. discount all products that have been on the shelf for more than three months.



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