cancel
Showing results for 
Search instead for 
Did you mean: 

oData service takes array as an input

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (0)