amalc / rubyzoho

Abstracting Zoho’s API into a set of Ruby classes, with reflection of Zoho’s fields using a more familiar ActiveRecord lifecycle, but without ActiveRecord. Works with Rails and Devise.
MIT License
62 stars 57 forks source link

Bulk Insert Fields #51

Open rush-skills opened 8 years ago

rush-skills commented 8 years ago

Is it possible to bulk insert records into Zoho, thus utilizing the API Limits properly? Right now on callling .save inserts it instantly using one API call. https://www.zoho.com/crm/help/api/insertrecords.html https://www.zoho.com/crm/help/api/api-limits.html

Any help/suggesting to fixes would be appreciated.

amalc commented 8 years ago

It's good idea. What do you think the behavior should be? ActiveRecord style perhaps by using an array?

rush-skills commented 8 years ago

Yeah, AR style using an array sounds good. It could automatically run it for each 100 records if there are a lot of them.

FabioRos commented 7 years ago

Hello, are there some news about this issue?

FabioRos commented 7 years ago

Thank you! It is also possible to bulk update records?