Hello!
So I've been attempting to import/update data into Analytics in PHP via its API, but I haven't been able to make the functions from the Library file (
ReportClient.php) provided by the documentation (
https://www.zoho.com/analytics/api/#php-library) work.
For example, when trying to use the createTable() method, it says it needs these 2 parameters:
- Table structure in JSON format - Is it just the structure?, Can't I use a JSON full with data, like when doing it manually from Analytics ("Import Data -> Pasted Data -> JSON")?
I've been trying different things but nothing seems to work. Could I please get an example of a call to this method/function?
Also, once the Table is created (whether it's via API or manually), I'll want to update it -again- via API using JSONs, which method from the Library could help me with this? When importing/updating, the way I'd need it to work is:"Add the registers that are in the JSON but not in the Table, remove the registers that are in the Table but not in the JSON, and keep the ones that are in both".
I hope you'll be able to assist me with this matter,
Thanks in advance, greetings!