APIEndPoint = "https://projectsapi.zoho.com/restapi";task = invokeurl[url :APIEndPoint + "/portal/" + portalId + "/projects/" + projectId + "/tasks/" + taskId + "/"type :Getconnection:"**************"];tasklistId = task.get("tasks").get(0).get("tasklist").get("id");tasklist = invokeurl[url :APIEndPoint + "/portal/" + portalId + "/projects/" + projectId + "/tasklists/" + tasklistId + "/tasks/"type :Getconnection:"*************"];m = "";owners = task.get("tasks").get(0).get("details").get("owners");for each owner in owners{id = owner.get("id");m = m + id + ",";}remainingtasks = tasklist.get("tasks");for each remainingtask in remainingtasks{ID = remainingtask.get("id");param = Map();param.put("person_responsible",m);final = invokeurl[url :APIEndPoint + "/portal/" + portalId + "/projects/" + projectId + "/tasks/" + ID + "/"type :Postparameters:paramconnection:"************"];}return "success";
Writer is a powerful online word processor, designed for collaborative work.