Topic
  • 2 replies
  • Latest Post - ‏2018-05-16T22:28:27Z by MariusWirtz
MariusWirtz
MariusWirtz
70 Posts

Pinned topic DELETE with $filter on collections

‏2018-05-14T09:14:54Z |

Hi,

does the TM1 REST API allow DELETE operations with $filter on collections to delete all matching element, as specified in 
https://www.oasis-open.org/committees/download.php/57722/odata-meeting-123_on-20160310-minutes.html


I want to do something like this:
https://10.77.19.60:12354/api/v1/Dimensions('testtest')/Hierarchies('testtest')/Elements?$filter=startswith(Name,'e')


Cheers,

Marius

  • Hubert Heijkers (IBM)
    190 Posts
    ACCEPTED ANSWER

    Re: DELETE with $filter on collections

    ‏2018-05-14T20:15:35Z  

    Not yet Marius, ODATA-616 is targeted at the v4.01 OData specification. We have adopted a couple of patterns, extending what's allowed in OData v4, already in our implementation but this isn't one of them, not yet.

  • Hubert Heijkers (IBM)
    190 Posts

    Re: DELETE with $filter on collections

    ‏2018-05-14T20:15:35Z  

    Not yet Marius, ODATA-616 is targeted at the v4.01 OData specification. We have adopted a couple of patterns, extending what's allowed in OData v4, already in our implementation but this isn't one of them, not yet.

  • MariusWirtz
    MariusWirtz
    70 Posts

    Re: DELETE with $filter on collections

    ‏2018-05-16T22:28:27Z  

    Not yet Marius, ODATA-616 is targeted at the v4.01 OData specification. We have adopted a couple of patterns, extending what's allowed in OData v4, already in our implementation but this isn't one of them, not yet.

    OK. Thank you!

    For now we can delete elements from the dimension through a 'classic' PATCH on the Hierarchy.