OData Filter Error DateTime Edm.String Error?

I am writing a DateTime filter request in OData as follows:

... + "$filter=SubmitTime lt datetime'2014-12-30T23:59:59.99Z'"

and met the following error:

enter image description here

I followed the OData format guide and other online links, and the line I wrote aligns with the recommendation.

So, is this a problem caused by the dll version? as indicated in this post: DatePage OData WebAPI Error

The version of Microsoft.OData.Edm.dll that I am using: Execution version: v4.0.30319 Version: 6.3.0.0

Any ideas? Thank!

+4
source share
1 answer

, OData, OData V4. OData V4 DateTime, DateTimeOffset.

URL-:

...?$filter=SubmitTime lt 2014-12-30T23:59:59.99Z
+10

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


All Articles