ZOHO Report API - Bulk import using CSV
Question
I am trying to do a bulk import using CSV. I'm coding in ruby So using RestClient gem for calling the Zoho Report API. How should I pass the value for ZOHO_FILE? I tried
RestClient.post(ZOHO_REPORT_API, {ZOHO_FILE => File.open("path/to/csvfile")})
But its not working. The error which I'm getting is The file content is not \"multipart\/form-data\" format.
Please help me to find out the right way to pass ZOHO_FILE value.
Solution
I got the answer for the same.
ZOHO provides an uploading tool for the same. Its easy to understand and implement. Please have a look at ZOHO Upload Tool
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow