Timeline for How to pass null value to a DateTime field sharepoint rest?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 3, 2016 at 12:45 | comment | added | Dharma Raj | you saved my time, But I dont understand the difference string jsonbody = @"{ '__metadata':{ 'type':'SP.Data.TimesheetListItem'},'End_x0020_Time':null} and @"{ '__metadata':{ 'type':'SP.Data.TimesheetListItem'},'End_x0020_Time':'"+ null +"'}"; | |
Nov 3, 2016 at 12:44 | vote | accept | Dharma Raj | ||
Nov 3, 2016 at 12:36 | comment | added | Dharma Raj | I'm getting the following exception when I try this "Cannot convert a primitive value to the expected type 'Edm.DateTime'. See the inner exception for more details" @Atish Dipongkor | |
Nov 3, 2016 at 12:23 | history | edited | Atish Kumar Dipongkor | CC BY-SA 3.0 |
added 104 characters in body
|
Nov 3, 2016 at 12:21 | comment | added | Gintas K | Was about to answer that you don't have to cast the null to Datetime :) | |
Nov 3, 2016 at 12:20 | history | answered | Atish Kumar Dipongkor | CC BY-SA 3.0 |