Sharepoint rest api筛选器对响应无效
我试图使用过滤器从RESTAPI获取数据,但不知何故它不起作用 我正在尝试以下不同的组合,如以下rest端点:Sharepoint rest api筛选器对响应无效,sharepoint,sharepoint-online,Sharepoint,Sharepoint Online,我试图使用过滤器从RESTAPI获取数据,但不知何故它不起作用 我正在尝试以下不同的组合,如以下rest端点: /_api/web/lists/getbytitle('SectionE')/items?items?$select=Id&filter=Title eq 'Test' /_api/web/lists/getbytitle('SectionE')/items?items?$select=Id&filter=Title%20eq%20%27Test%27 我希望根据标
/_api/web/lists/getbytitle('SectionE')/items?items?$select=Id&filter=Title eq 'Test'
/_api/web/lists/getbytitle('SectionE')/items?items?$select=Id&filter=Title%20eq%20%27Test%27
我希望根据标题列中的值筛选结果。尝试以下操作:
/_api/web/lists/getbytitle("SectionE")/items?$select=ID,Title&$filter=Title eq 'Test'
对于Rest API中的筛选字段值,以下是一个常见示例:
_api/web/lists/getbytitle('ListName')/items?$select=columnname&filter=columnname eq 'somevalue'
您可以在浏览器中签入以查看返回的数据:
/\u api/web/lists/getbytitle('SectionE')/items?items?$select=Id&$filter=Title-eq'Test'
缺少$before筛选器。我没有包括$before筛选器,它在放入$filter后工作