Datetime 转换oData API输入参数的日期格式

Datetime 转换oData API输入参数的日期格式,datetime,webapi,Datetime,Webapi,我们将数据库作为oData web API公开给CRM 365。CRM端的请求采用以下格式: /Orders?$filter=PaymentInfo\u DateTime%20ge%202020-09-28T00:00:00+02:00%20和%20PaymentInfo\u DateTime%20le%202020-09-29T00:00:00+02:00&$top=25&$select=OrderGUID,OrderNo&$count=true这个问题有答案吗?

我们将数据库作为oData web API公开给CRM 365。CRM端的请求采用以下格式:


/Orders?$filter=PaymentInfo\u DateTime%20ge%202020-09-28T00:00:00+02:00%20和%20PaymentInfo\u DateTime%20le%202020-09-29T00:00:00+02:00&$top=25&$select=OrderGUID,OrderNo&$count=true
这个问题有答案吗?