sp 2013 rest api到期日过滤不起作用 [英] sp 2013 rest api due date filtering not working

查看:68
本文介绍了sp 2013 rest api到期日过滤不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用下面的share point 2013 rest API来获取截止日期,日期范围之间的任务列表项值。

I am using below share point 2013 rest API to fetch the Task list item values in between due date , date range.

链接:  _api / web / lists / getbytitle('****')/ Items?$ expand = Author,AssignedTo& $ select = *,作者/标题,Created,AssignedTo / Title& $ filter =(DueDate ge datetime '2018-07-08T02:05:13Z')和(DueDate le datetime'2018-07-08T02:05:13Z')& $ orderby = DueDate
desc 

LINK :  _api/web/lists/getbytitle('****')/Items?$expand=Author,AssignedTo&$select=*,Author/Title,Created,AssignedTo/Title&$filter =(DueDate ge datetime'2018-07-08T02:05:13Z') and (DueDate le datetime'2018-07-08T02:05:13Z')&$orderby=DueDate desc  

其他API 忽略日期比较值,它显示所有任务列表项而不管日期条件。

你能不能让我知道语法有什么问题

Reagrds,

Patil 

推荐答案

范围的日期时间值看来是相同的。将它们(其中一个)设置为更宽范围会有什么作用?

The datetime values for the range are identical, it appears. What does setting (one of) them to a wider range do?

在故障排除中我可能还会删除其他条件(

In troubleshooting I might also remove the other criteria (


select,


expand等)并逐个添加
expand, etc) and add them one by one


这篇关于sp 2013 rest api到期日过滤不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆