[Vtigercrm-developers] vtwsclib - Create Potential
Peter Dimov
phdimov at gmail.com
Wed Aug 1 14:03:47 PDT 2012
Hello Vtiger Developers,
I do have an issue with vtwsclib and was wondering if anyone has been able
to create a potential with it.
The code I am trying does not work
$module = 'Potentials';
$record = $client->doCreate($module, Array(
'potentialname'=>'test',
'closingdate'=>'',
'related_to'=>'',
'sales_stage'=>'',
'assigned_user_id'=>'1'
));
if($record) {
$recordid = $client->getRecordId($record['id']);
echo $recordid;
}
If anyone has a working example of what array should I send I would greatly
appreciate it!
--
Best Regards,
Petar Dimov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120801/b4f1c95a/attachment.html
More information about the vtigercrm-developers
mailing list