We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting issue like Undefined property: Webleit\ZohoCrmApi\Client::$leads Here is my codebase
$oAuthClient = new \Weble\ZohoClient\OAuthClient(config('zoho.client_id'), config('zoho.client_secret')); $oAuthClient->setRefreshToken(uniqid()); $oAuthClient->setRegion(\Weble\ZohoClient\Enums\Region::IN);
// setup the zoho crm client $client = new \Webleit\ZohoCrmApi\Client($oAuthClient); $client->setMode(\Webleit\ZohoCrmApi\Enums\Mode::PRODUCTION);
$zohoCrm = new \Webleit\ZohoCrmApi\Client($oAuthClient); $leads = $zohoCrm->leads->getList(); dd($leads);
The text was updated successfully, but these errors were encountered:
Hi! It seems you're missing a step.
After creating Webleit\ZohoCrmApi\Client, you need create
Webleit\ZohoCrmApi\Client
$zoho = Webleit\ZohoCrmApi\ZohoCrm($zohoCrm) and that one has the leads module property
$zoho = Webleit\ZohoCrmApi\ZohoCrm($zohoCrm)
Sorry, something went wrong.
No branches or pull requests
I am getting issue like Undefined property: Webleit\ZohoCrmApi\Client::$leads
Here is my codebase
$oAuthClient = new \Weble\ZohoClient\OAuthClient(config('zoho.client_id'), config('zoho.client_secret'));
$oAuthClient->setRefreshToken(uniqid());
$oAuthClient->setRegion(\Weble\ZohoClient\Enums\Region::IN);
// setup the zoho crm client
$client = new \Webleit\ZohoCrmApi\Client($oAuthClient);
$client->setMode(\Webleit\ZohoCrmApi\Enums\Mode::PRODUCTION);
$zohoCrm = new \Webleit\ZohoCrmApi\Client($oAuthClient);
$leads = $zohoCrm->leads->getList();
dd($leads);
The text was updated successfully, but these errors were encountered: