public function Export($fileFormat = \ElasticEmailEnums\ExportFileFormats::Csv, $rule = null, array $emails = array(), $compressionFormat = \ElasticEmailEnums\CompressionFormat::None, $fileName = null) {
        return $this->sendRequest('contact/export', array(
                    'fileFormat' => $fileFormat,
                    'rule' => $rule,
                    'emails' => (count($emails) === 0) ? null : join(';', $emails),
                    'compressionFormat' => $compressionFormat,
                    'fileName' => $fileName
        ));
    }
public function Export($fileFormat = \ElasticEmailEnums\ExportFileFormats::Csv, $rule = null, array $emails = array(), $compressionFormat = \ElasticEmailEnums\CompressionFormat::None, $fileName = null) {
        return $this->sendRequest('contact/export', array(
                    'fileFormat' => $fileFormat,
                    'rule' => $rule,
                    'emails' => (count($emails) === 0) ? null : join(';', $emails),
                    'compressionFormat' => $compressionFormat,
                    'fileName' => $fileName
        ));
    }
public function Export ( $ fileFormat = \ ElasticEmailEnums \ ExportFileFormats :: Csv , $ rule = null , array $ emails = array ( ) , $ compressionFormat = \ ElasticEmailEnums \ CompressionFormat :: None , $ fileName = null ) { return $ this -> sendRequest ( 'contact/export' , array ( 'fileFormat' => $ fileFormat , 'rule' => $ rule , 'emails' => ( count ( $ emails ) === 0 ) ? null : join ( ';' , $ emails ) , 'compressionFormat' => $ compressionFormat , 'fileName' => $ fileName ) ) ; }
Export selected Contacts to file.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param \ElasticEmailEnums\ExportFileFormats $fileFormat Format of the exported file
@param string $rule Query used for filtering.
@param array<string> $emails Comma delimited list of contact emails
@param \ElasticEmailEnums\CompressionFormat $compressionFormat FileResponse compression format. None or Zip.
@param string $fileName Name of your file.
@return \ElasticEmailEnums\ExportLink
Export selected Contacts to file .