Skip to main content
Question

How can I use 'like' operator for '$filter' while calling the FSM Rest Api

  • January 28, 2025
  • 1 reply
  • 22 views

Forum|alt.badge.img+8

I am trying to call the Rest Api using following URL but getting the error.

URL:

http://test.com/testfsm/OData/task?$select=task_id&$filter=request_id eq '123’ and user_def10 like '345'

Error:

{

    "Message": "Syntax error at position 48 in 'request_id eq '123' and user_def10 like '345''."

}

Can somebody guide how to use ‘like’ operator?

1 reply

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1113 replies
  • January 28, 2025

Hi ​@TDCMANIRUL 

I did not try, but below is a possible syntax

https://...base url/.../...?task.request_id=134565&task.user_def10=%25345%25

Cheers!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings