I'm trying to create an event via a simple custom function, but I'm not having a lot of success. Here is my code:
crmEventFMAP = Map();
crmEventFMAP.put("Subject","test");
crmEventFMAP.put("Description","test");
crmEventFMAP.put("Start DateTime","2018-03-28 08:00:00");
crmEventFMAP.put("End DateTime","2018-03-28 09:00:00");
//eventinfo = {E}
res = zoho.crm.create("Events",crmEventFMAP);
Unfortunately, the event is not being created when I run the script. What am I missing??