Change Task Owner Using API
How can i change the task owner using c# ou node api ?
I tried this:
RecordOperations recordOperations = new RecordOperations();
BodyWrapper request = new BodyWrapper();
List<Com.Zoho.Crm.API.Record.Record> records = new List<Com.Zoho.Crm.API.Record.Record>();
Com.Zoho.Crm.API.Record.Record record1 = new Com.Zoho.Crm.API.Record.Record();
record1.AddKeyValue("Owner", "51857XXXXX0357001"); //if use a long type i get a error too
records.Add(record1);
request.Data = records;
APIResponse<ActionHandler> response = recordOperations.UpdateRecord(recordId, moduleAPIName, request, new HeaderMap());
But I getting this error:
Exception User-Unhandled
Com.Zoho.API.Exception.SDKException