src/XQueue/Maileon/API/Contacts/ContactsService.php
function getContactsByFilterId($filterId, $page_index = 1, $page_size = 100, $standard_fields = array(), $custom_fields = array())
    {
        $queryParameters = array(
            'page_index' => $page_index,
            'page_size' => $page_size,
            'standard_field' => $standard_fields
        );
        $queryParameters = $this->appendArrayFields($queryParameters, 'custom_field', $custom_fields);
        return $this->get('contacts/filter/' . utf8_encode($filterId), $queryParameters);
    }
function getContactsByFilterId($filterId, $page_index = 1, $page_size = 100, $standard_fields = array(), $custom_fields = array())
    {
        $queryParameters = array(
            'page_index' => $page_index,
            'page_size' => $page_size,
            'standard_field' => $standard_fields
        );
        $queryParameters = $this->appendArrayFields($queryParameters, 'custom_field', $custom_fields);
        return $this->get('contacts/filter/' . utf8_encode($filterId), $queryParameters);
    }
Retrieves all contacts with a given contact filter ID.

@param string $filterId the filter ID to use to select contacts
@param string[] $standard_fields
@param string[] $custom_fields
@return \em com_maileon_api_MaileonAPIResult
the result object of the API call, with a com_maileon_api_contacts_Contacts
available at com_maileon_api_MaileonAPIResult::getResult()
@throws com_maileon_api_MaileonAPIException
if there was a connection problem or a server error occurred