public function associateLead($id, $cookie = null, $args = array(), $returnRaw = false)
    {
        $args['id'] = $id;

        if (!empty($cookie)) {
            $args['cookie'] = $cookie;
        }

        return $this->getResult('associateLead', $args, false, $returnRaw);
    }
public function associateLead($id, $cookie = null, $args = array(), $returnRaw = false)
    {
        $args['id'] = $id;

        if (!empty($cookie)) {
            $args['cookie'] = $cookie;
        }

        return $this->getResult('associateLead', $args, false, $returnRaw);
    }
public function associateLead ( $ id , $ cookie = null , $ args = array ( ) , $ returnRaw = false ) { $ args [ 'id' ] = $ id ; if ( ! empty ( $ cookie ) ) { $ args [ 'cookie' ] = $ cookie ; } return $ this -> getResult ( 'associateLead' , $ args , false , $ returnRaw ) ; }
Associate a lead

@param int       $id
@param string    $cookie
@param array     $args

@link http://developers.marketo.com/documentation/rest/associate-lead/

@return AssociateLeadResponse
Associate a lead