Skip to Content
avatar image
Former Member

oData service takes array as an input

Hi Community,

I have an oData service (GET operation) which has a filter something like this

$filter=(VendorCode eq '123' or VendorCode eq '456') and (InvoiceNumber eq 'ABC' or InvoiceNumber eq 'DEF').

As per the business requirement there is a need to reduce the URL size and hence looking to transform this filter to something like this

$filter=(VendorCode eq '123','456'..so on) and (InvoiceNumber eq 'ABC','DEF'..so on).

This will highly reduce the URL length hence allowing more input in rare cases, making application more robust.

looking forward to your replies !

Thanks,

Juhi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers