lib/serverdensity/Api/Services.php
public function search($filter, $fields){
        $param = array(
            'filter' => json_encode($filter),
            'fields' => json_encode($fields)
        );

        return $this->get('inventory/resources/', $param);
    }
public function search($filter, $fields){
        $param = array(
            'filter' => json_encode($filter),
            'fields' => json_encode($fields)
        );

        return $this->get('inventory/resources/', $param);
    }
public function search ( $ filter , $ fields ) { $ param = array ( 'filter' => json_encode ( $ filter ) , 'fields' => json_encode ( $ fields ) ) ; return $ this -> get ( 'inventory/resources/' , $ param ) ; }
Search a service
@link     https://developer.serverdensity.com/docs/searching-for-a-service
@param    array   $filter     an array of arrays of fields to filter on
@param    array   $fields     an array of fields to keep in search
@return   an array of arrays with all services.
Search a service