So I am trying to update a Task and change the User Story it belongs to. This is what i am trying..
var toUpdate = new DynamicJsonObject();
// the new User Story
toUpdate["WorkProduct"] = "/hierarchicalrequirement/4567890123";
// the ObjectID of the Task
long oid = 45678912445;
OperationResult result = _restApi.Update("task", oid, toUpdate);
But getting this error: System.Collections.Generic.List'1[System.String]