public function getSearchRecords($searchCondition, $params = [], $options = [])
    {
        $params['searchCondition'] = $searchCondition;
        if (empty($params['selectColumns'])) {
            $params['selectColumns'] = 'All';
        }

        return $this->call('getSearchRecords', $params);
    }
public function getSearchRecords($searchCondition, $params = [], $options = [])
    {
        $params['searchCondition'] = $searchCondition;
        if (empty($params['selectColumns'])) {
            $params['selectColumns'] = 'All';
        }

        return $this->call('getSearchRecords', $params);
    }
public function getSearchRecords ( $ searchCondition , $ params = [ ] , $ options = [ ] ) { $ params [ 'searchCondition' ] = $ searchCondition ; if ( empty ( $ params [ 'selectColumns' ] ) ) { $ params [ 'selectColumns' ] = 'All' ; } return $ this -> call ( 'getSearchRecords' , $ params ) ; }
Implements getSearchRecords API method.

@param string $searchCondition search condition in the format (fieldName|condition|searchString)
e.g. (Email|contains|*@sample.com*)

@param array $params           request parameters
selectColumns String  Module(columns) e.g. Leads(Last Name,Website,Email)
Note: do not use any extra spaces when listing column names
fromIndex        Integer    Default value 1
toIndex          Integer    Default value 20
Maximum value 200
newFormat     Integer 1 (default) - exclude fields with null values in the response
2 - include fields with null values in the response
version       Integer 1 (default) - use earlier API implementation
2 - use latest API implementation
@param mixed $options

@return Response The Response object
Implements getSearchRecords API method .