Skip to Content
1
Jun 24 at 07:51 PM

$filter with multiple substringof functions seperated by AND/OR operator

160 Views

Hello Colleagues,

I am trying to implement an API call with the below URI :

$filter=substringof('ABC',FirstName) and substringof('XYZ',LastName) and (substringof('DEF',FirstName) or substringof('STW',LastName))

I am aware that IO_TECH_REQUEST_CONTEXT->GET_FILTER( )->GET_FILTER_SELECT_OPTIONS( ) would be empty.

Only parameters that I am receiving being filled are IO_TECH_REQUEST_CONTEXT->GET_REQUEST_HEADERS( ) and IO_TECH_REQUEST_CONTEXT->GET_FILTER_EXPRESSION_TREE( ).

I followed this blog by Andre(Option1) as well. But I would like to know is there any other way to fetch the filter parameters.

I am left with the option to scan the request headers but want to seek advice on any other solution if available.

Regards,

Subhajit