cancel
Showing results for 
Search instead for 
Did you mean: 

$filter option in SAP Cloud Integration (CPI) HTTP Receiver Adapter

jainarayangoel
Explorer
0 Kudos

Where should we provide $filter query in HTTP Receiver adapter?

I need to invoke SAP Ariba Contract Workspace Retrieval API . SAP Ariba Contract Workspace Retrieval API is a REST API. It also accepts $filter as a query parameter.

So I need to use HTTP Adapter with $filter query. But when I am adding the $filter in "Query" field, it is not allowed and showing an error at design time.

Ryan-Crosby
Active Contributor
0 Kudos

it accepts $filter or filter? I suspect the problem is because of the money dollar symbol preceding the parameter name.

Accepted Solutions (1)

Accepted Solutions (1)

CarlosRoggan
Advisor
Advisor
0 Kudos

Hi,
I guess the problem are the blanks in your query.
Can you try with url-encoded blanks?

I mean, use %20 instead of a whitespace

e.g.

&$filter=quantity20gt%201
jainarayangoel
Explorer
0 Kudos

Thanks Carlos, Issue is resolved.

Answers (3)

Answers (3)

jainarayangoel
Explorer
0 Kudos

Hi carlos.roggan ,

I am getting the follwoing error message in the "Problems" tab.

As you can see in the following image, when I am adding the $filter in Query, the text box is getting red -

CarlosRoggan
Advisor
Advisor
0 Kudos

Hello Jai, could you please show what error you get?
I've tried it and I don't get an error after save the iFlow-designer

CarlosRoggan
Advisor
Advisor
0 Kudos

Hello Jai, could you please show what error you get?
I've tried it and I don't get an error after save the iFlow-designer