Skip to content
New issue

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

Calling Baserecord objects that are not modules #28

Open
pkayokay opened this issue Sep 20, 2019 · 1 comment
Open

Calling Baserecord objects that are not modules #28

pkayokay opened this issue Sep 20, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@pkayokay
Copy link

pkayokay commented Sep 20, 2019

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 pkayokay changed the title Calling Baserecord objects - Calling Baserecord objects that are modules Sep 20, 2019
@rikas rikas added the bug Something isn't working label Sep 20, 2019
@pkayokay pkayokay changed the title Calling Baserecord objects that are modules Calling Baserecord objects that are not modules Sep 20, 2019
@pkayokay
Copy link
Author

pkayokay commented Sep 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants