Seching Using API for contact module

API to search based on multiple custom fields in suitecrm for contact module.

I have added these three field in contacts module.

  1. Business - can have value Agriculture, Medical,social , etc.
  2. Interests - can have values Reading,driving,cooking, decorating etc.
  3. Call Time - can have value morning, afternoon, night etc.

Now I want to search those contacts that can have business=agriculture and calltime=afternoon using api

How we can we achecive this?

there you have the

//The SQL WHERE clause without the word "where".
         'query' => "",

in that line, you have to specify the filter of the selected query

best regards