Hi everyone and thank you in advance for helping me identify what I'm doing wrong.
I am able to update list item string and number fields just fine using Send HTTP Request to SharePoint but not Date Time fields.
This is the body. Yes, in this example I am hard coding the value for simplicity right now.
{
"Event_x0020_Date": "6/7/2020"
}
And this is the output:
{
"status": 400,
"message": "Cannot convert a primitive value to the expected type 'Edm.DateTime'. See the inner exception for more details.\r\nclientRequestId: 973395f0-5f20-49f6-8401-1cc1afade3f6\r\nserviceRequestId: 43ae789f-408a-b000-18a1-c4821d86161f",
"errors": [
"-1",
"Microsoft.SharePoint.Client.InvalidClientQueryException"
]
}
Any idea how the string needs to be formatted in the http body?