Hello,
I'm trying to create new Tasks, and I'm running into a problem. I have simplified my code (C#) down to the following which I believe contains only the essential properties, which throws an exception on the UpsertRecords line:
ZCRMRecord zohoTask = new ZCRMRecord("Tasks");
zohoTask.SetFieldValue("Subject", riskTaskModel.Subject);
JObject recurring_pattern = new JObject();
recurring_pattern.Add("RRULE", "FREQ=NONE;");
zohoTask.SetFieldValue("Recurring_Activity", recurring_pattern);
JObject remind_at = new JObject();
remind_at.Add("RRULE", "FREQ=NONE;");
zohoTask.SetFieldValue("Remind_At", remind_at);
List<ZCRMRecord> tasksToIns = new List<ZCRMRecord>();
tasksToIns.Add(zohoTask);
ZCRMModule taskIns = ZCRMModule.GetInstance("Tasks");
BulkAPIResponse<ZCRMRecord> responseIns = taskIns.UpsertRecords(tasksToIns);
Any help or guidance on this would be greatly appreciated.
Thank you
Phil