public function addLeadsToList($listId, $leads, $args = array(), $returnRaw = false)
    {
        $args['listId'] = $listId;
        $args['id'] = (array) $leads;

        return $this->getResult('addLeadsToList', $args, true, $returnRaw);
    }
public function addLeadsToList($listId, $leads, $args = array(), $returnRaw = false)
    {
        $args['listId'] = $listId;
        $args['id'] = (array) $leads;

        return $this->getResult('addLeadsToList', $args, true, $returnRaw);
    }
public function addLeadsToList ( $ listId , $ leads , $ args = array ( ) , $ returnRaw = false ) { $ args [ 'listId' ] = $ listId ; $ args [ 'id' ] = ( array ) $ leads ; return $ this -> getResult ( 'addLeadsToList' , $ args , true , $ returnRaw ) ; }
Add one or more leads to the specified list.

@param int       $listId List ID
@param int|array $leads  Either a single lead ID or an array of lead IDs
@param array     $args

@link http://developers.marketo.com/documentation/rest/add-leads-to-list/

@return AddOrRemoveLeadsToListResponse
Add one or more leads to the specified list .