[Vtigercrm-developers] Lead Status by Web services

Estefan Civera estefan.civera at gmail.com
Tue Mar 29 07:29:12 GMT 2016


please give us the result of this code
$url = 'http://lxxxxxx';
$usr = 'admin';
$ack = 'xxxxx';

    //error_reporting(E_ALL);
   //ini_set("display_errors", 1);

    include_once('vtwsclib/Vtiger/WSClient.php');

    $client = new Vtiger_WSClient($url);

    $login = $client->doLogin($usr, $ack);
    $wasError= $client->lastError();
	if($wasError) {
	echo $wasError['code'] . ':' . $wasError['message'];
}
	
    

    $recordInfo = $client->doDescribe('AlgResults');
    if($recordInfo) {
            echo "<pre>doDescribe";
            print_r($recordInfo);
            echo "</pre>";
    }
    else
        print_r($client->lasterror());



-----
Ing. Estefan Civera
Vtiger developer and consultant
http://www.estefancivera.net
Italy
--
View this message in context: http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Lead-Status-by-Web-services-tp18716p18719.html
Sent from the vtigercrm-developers mailing list archive at Nabble.com.


More information about the vtigercrm-developers mailing list