Update Custom Fields via API
Hi - does anyone know if there's a way to update custom fields in Zoho Connect tasks?
I have tried passing parameters but it returns "errorCode":"EXTRA_PARAM_FOUND","devReason":"Extra
param found 'customRecords'"
- map1 = Map();
- map2 = Map();
- map3 = Map();
- map1.put("id","185487000004515175");
- map1.put("value"," TEST");
- map2.put("185487000004518044", map1);
- map3.put("customRecords", map2);
- sectionTasks = response.get("sectionTasks").get("tasks");
- for each rec in sectionTasks
- {
- title = rec.getJSON("shortTitle").getJSON("text");
- id = rec.get("id");
- if(title == "Test")
- {
- response = invokeurl
- [
- url :https://connect.zoho.com/pulse/api/updateTask?scopeID= + scopeID + "&taskId=" + id
- type :POST
- parameters: map3
- connection:
- ];}}