I want to collect data from Zoho Subscriptions via the Zoho Creator/Sub interface.
I can see that I am fetching the data, but I am unable to insert the data into my creator table.
My guess is simply because I do not know too much about the list() function.
Any help on this short piece of code?
I get the error in the line "for each ....."
=======================================================
vRespons = zoho.subscriptions.getList("Subscriptions", "xxxxxxxx");
vtext_Subscriptions = vRespons.get("subscriptions");
info vtext_Subscriptions;
list = vtext_Subscriptions.toList();
for each subscription_id in list
{
insert into f_ZC_ZS_integration
[
bSubscription_id = subscription_id.getJSON("subscription_id")
bStatus = subscription_id.getJSON("status")
null = zoho.loginuser
]
}
========================================================
Thank you.