WebAPI OData DateTime Error

The same question was asked here http://forums.asp.net/post/5243863.aspx , but there is no answer yet.

A filter request such as $ filter = TimeRequested eq datetime'2012-12-17 'OR $ filter = TimeRequested eq datetime'2012-12-17T08: 36: 06' is an error with

Microsoft.Data.OData.ODataException: A binary operator with incompatible types was detected. The types of operands "Edm.String" and "Edm.DateTime" were found for the operator type "Equal".

+3
source share

Source: https://habr.com/ru/post/1569959/


All Articles