Saving an empty value using ODATA API is not possible. It changes the task_status but doesn’t update the user_def1 to empty in the below example.
URL : https://<fmsserver>/odata/task(12345)
Method : Patch
1st call (works fine)
Body :
{
"task_status": "HOLD",
"status_as_of": "2021-10-26T15:37:37.0047496",
"user_def1": "ENROUTE",
"modified_by": "USER1"
}
2nd call (user_def1 is not set to blank)
Body :
{
"task_status": "ENROUTE",
"status_as_of": "2021-10-26T15:37:37.0047496",
"user_def1": "",
"modified_by": "USER1"
}