0

Generally I want some equivalent of:

select * from my_entity where id IN (1,2,3)

In odata it should be like that:

GET http://my-host.com/Api/V4/MyEntity(1,2)

But for API which I try to use the upper url does not work :( So does odata API supports get entities by multiple ids? If yes - what url pattern to use?

Cherry
  • 31,309
  • 66
  • 224
  • 364
  • 3
    Looks like this is already answered here: [OData "where ID in list" query](https://stackoverflow.com/questions/7745231/odata-where-id-in-list-query) – GWigWam May 29 '19 at 11:50
  • alternatively, if your odata service supports $batch requests, you can send multiple GETs in one request. – Dirk Trilsbeek May 29 '19 at 12:23

0 Answers0