I am receiving POST data from a vendor's web service in my web api. One of the values being sent is a data and time - sample: StartTime=2014-10-20+15%3A30%3A54
. I understand that %3A
is an escape for :
, which would have a date in the following format: 2014-10-20+15:30:54
.
The problem is that the StartTime
value is not being parsed properly by the web api, and all the StartDate
properties on my model are being set to 1/1/0001 12:00:00 AM
.
Can anyone point me in the right direction here? I can't seem to find any info on what format this date is in to see if there is a way to have the web api framework parse it correctly.