public function MoveContacts($oldListName, $newListName, array $emails = array(), $moveAll = null, array $statuses = array(), $rule = null) {
        return $this->sendRequest('list/movecontacts', array(
                    'oldListName' => $oldListName,
                    'newListName' => $newListName,
                    'emails' => (count($emails) === 0) ? null : join(';', $emails),
                    'moveAll' => $moveAll,
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'rule' => $rule
        ));
    }
public function MoveContacts($oldListName, $newListName, array $emails = array(), $moveAll = null, array $statuses = array(), $rule = null) {
        return $this->sendRequest('list/movecontacts', array(
                    'oldListName' => $oldListName,
                    'newListName' => $newListName,
                    'emails' => (count($emails) === 0) ? null : join(';', $emails),
                    'moveAll' => $moveAll,
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'rule' => $rule
        ));
    }
public function MoveContacts ( $ oldListName , $ newListName , array $ emails = array ( ) , $ moveAll = null , array $ statuses = array ( ) , $ rule = null ) { return $ this -> sendRequest ( 'list/movecontacts' , array ( 'oldListName' => $ oldListName , 'newListName' => $ newListName , 'emails' => ( count ( $ emails ) === 0 ) ? null : join ( ';' , $ emails ) , 'moveAll' => $ moveAll , 'statuses' => ( count ( $ statuses ) === 0 ) ? null : join ( ';' , $ statuses ) , 'rule' => $ rule ) ) ; }
Move selected contacts from one List to another
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param string $oldListName The name of the list from which the contacts will be copied from
@param string $newListName The name of the list to copy the contacts to
@param array<string> $emails Comma delimited list of contact emails
@param ?bool $moveAll TRUE - moves all contacts; FALSE - moves contacts provided in the 'emails' parameter. This is ignored if the 'statuses' parameter has been provided
@param array<\ElasticEmailEnums\ContactStatus> $statuses List of contact statuses which are eligible to move. This ignores the 'moveAll' parameter
@param string $rule Query used for filtering.
Move selected contacts from one List to another