【问题标题】:Search SharePoint Item with Graph API使用图形 API 搜索 SharePoint 项目
【发布时间】:2021-03-18 18:32:55
【问题描述】:

我正在尝试使用 Graph API 和 C# 搜索 SharePoint 列表中的一项。

能够通过以下 GET 请求获取列表中的所有项目

https://graph.microsoft.com/v1.0/sites/myorganization.sharepoint.com,70e38521-b8bd-4008-98d3-f84721c55e0b,3338923b-2c65-45a9-bd70-941ac1345ca0/lists/24c9dc88-03f4-4aca-816c-acfcaf7b864d/items?expand=fields

我如何在下面的列表中搜索特定项目。

寻找 GET 请求格式。非常感谢您提前提供的帮助。

【问题讨论】:

    标签: sharepoint microsoft-graph-api


    【解决方案1】:

    您可以尝试在请求末尾添加过滤器:

    ?expand=fields&filter=fields/TransactionRef eq '317690_92800'
    

    【讨论】:

    • 谢谢@Michael,但它不起作用。 https://graph.microsoft.com/v1.0/search/query 这是有效的,但无法将其放入编码中。它正在图形资源管理器上运行,但在代码中出现服务器错误。
    猜你喜欢
    • 1970-01-01
    • 2022-12-10
    • 2016-07-25
    • 2015-01-08
    • 1970-01-01
    • 1970-01-01
    • 2013-06-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多