7 Replies Latest reply on Feb 10, 2021 1:58 AM by Sathiesh M

    How to use starts with, ends with, contains operators in SearchEntity API

    Karthick Ravi New Member

      Hello,

       

      I'm passing fieldedQuery parameter in the SearchEntity API, and I would like to search for name starts with/ends with/contains. However, the filededQuery parameter allows only =.

       

      For e.g. in below BES call, how do I search for fullNm starts with 'Apple' or fullNm contains 'Apple'

       

      Request:

      POST http://host:port/context/db/SearchEntity

       

      Payload:

      {

      parameters: {

      fieldedQuery: fullNm='Apple'

      coFilter:{

      object:{

      name:businessentityname

      }}}}