zoho_hub
zoho_hub copied to clipboard
Calling Baserecord objects that are not modules
Is there an issue with calling a user
scope as Baserecord objects since they are not part of Zoho modules? I can call users successfully with ZohoHub.connection.get('users')
, but not with User.all
. Also could not call via ZohoHub.connection.get('Users')
, as I would with a capital letter for modules.
To test this, I tested the same with accounts and deals which are under modules. I was able to call them both with a connection and with Account.all
, Deal.all
.
Adding for reference https://www.zoho.com/crm/developer/docs/api/get-specific-user.html
Looks like it might be something with the different path compared to modules. users/:id
, will look when I get a chance.