trying to add an event

trying to add an event

I am trying to add an event from Zoho Creator so it appears in the CRM calander but I am having no luck

I am attempting to adapt Damian's suggested script

//create contact map
contactMap = map();
//populate contact map
contactMap.put("First Name", "Damien");
contactMap.put("Last Name", "Cregan");
contactMap.put("Email", "damien@example.com");
//add other info as needed
//create contact in crm
crmResponse = zoho.crm.create("Contacts", contactMap);
//create task map
eventMap = map();
//populate task map
eventMap.put("Host", "<users_email_address>");
eventMap.put("Title", "Test Event");
eventMap.put("Description", "This is a test task");
eventMap.put("From", "05-Apr-2016 09:00:00");
eventMap.put("To", "05-Apr-2016 19:00:00");
//the SEMODULE will tell crm which module to associate the task to(Contacts in this instance)
eventMap.put("SEMODULE", "Contacts");
//the SEID is the contacts crm record ID which we will get from the newly created contact record above
eventMap.put("SEID", crmResponse.get("Id"));
//create task in crm
crmResp = zoho.crm.create("Events", eventMap);


but it is not working. I have tried to get the names of the fields but the attached list is the only place I can see that lists them and it seems incomplete and doesn't list the deluge names. (see attached image)

also I don't want to add a new contact each time I create a event, I just want to attach it to the contact I have selected in my ZohoCRMdropdown.

What am I doing wrong? where can I find a list of a modules deluge names?

Thanks