zoho_hub icon indicating copy to clipboard operation
zoho_hub copied to clipboard

Calling Baserecord objects that are not modules

Open pkayokay opened this issue 5 years ago • 1 comments

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.

pkayokay avatar Sep 20 '19 21:09 pkayokay

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.

pkayokay avatar Sep 21 '19 02:09 pkayokay