I have tried to update the value of predecessor column by C# sdk or rest api but i am not able to update the Predecessors field.below is the rest api call which i have used.
https://api.smartsheet.com/2.0/sheets/4701793453139844/rows
Body---
{
"id": ROW_ID_WHERE_CREATING_PREDECESSOR,
"cells": [
{
"columnId": COLUMN_ID,
"objectValue": {
"objectType": "PREDECESSOR_LIST",
"predecessors": [
{
"rowId": ROW_ID_OF_PREDECESSOR_ROW,
"type": "FS"
}
]
}
}
]
}
I am getting the Error : {
"errorCode": 1008,
"message": "Unable to parse request. The following error occurred: Field \"objectValue\" was of unexpected type.",
"refId": "18ov4541x88oa"
}