Im trying to update some tasks status via API but its not working.
- values_map = Map();
- values_map.put("status",input.Status);
- response = zoho.projects.update("roboplan",input.Project_ID,"tasks",input.Task_ID,values_map);
- info response;
The second i've tryed was this: (because i've noticed that "status" haves more maps inside.
- values_map = Map();
- values_map.put("name",input.Status);
- status_map = {"status":values_map};
- response = zoho.projects.update("roboplan",input.Project_ID,"tasks",input.Task_ID,status_map );
- info response;
Can somebody help me?
heres an exemple of the output:
"status":{"name":"0 - Não Iniciada","id":"67014000000033001","type":"open","color_code":"#878b8e"}