Post to API Date Format and Empty Values

I am trying to post to a workflow api that needs to accept date values. Everything works fine except when the date parameter is empty/null, I get “400/Issue with data for workflow update_attendance: key fromtime do not have the right format.” Obviously switching to accepting a text value for the date parameter stops the errors, but then I am left with a text string and no way to change to date values. I am not sure if this is a bug or expected behaviour. Also looking for a work-around if anyone else has encountered the issue.

Hi, I have just run into the same problem. Did you find a solution?