ZohoCRM API V2 - PHP SDK(INVALID MODULE)
Hi I have a problem requesting data on custom module. I input my module name correctly but it says invalid module.
Fatal error
: Uncaught zcrmsdk\crm\exception\ZCRMException Caused by:'the module name given seems to be invalid'
my scope for the self client are ZohoCRM.modules.all,ZohoCRM.modules.custom.all
I Don't know whats the problem. it seems like the api v2 is the problem.
MY CODE:
ZCRMRestClient
::
initialize
(
ZohoConfig
::
getConfig
());
$ins
=
ZCRMRestClient
::
getInstance
()->
getModuleInstance
(
"CustomModule1"
);
$response_data
=
$ins
->
searchRecordsByCriteria
(
"(Description:equals:Advisory Member)"
,
1
,
200
);
$response_data
=
$response_data
->
getData
();
Thanks