[Vtigercrm-developers] Lead Status by Web services

Christophe Humbert chrissc.humbert at gmail.com
Tue Mar 29 09:00:53 GMT 2016


Please find the result ( [code] => ACCESS_DENIED [message] => Permission to
perform the operation is denied for name )

Christophe Humbert



On Tue, Mar 29, 2016 at 9:29 AM, Estefan Civera <estefan.civera at gmail.com>
wrote:

> 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.
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160329/996082fa/attachment.html>


More information about the vtigercrm-developers mailing list