最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Is it possible to get approved versions of list items in Graph API with SharePoint Lists - Stack Overflow

programmeradmin1浏览0评论

I am using Graph API to filter a SharePoint list by using $filter=fields/_ModerationStatus eq 0. This gives me only the items whose most recent approval status is Approved.

I have some items that were approved and then some one made an edit to them so they are Pending approval status.

What I would like is some filter I could use on my api call that would return the approved versions of anything approved AND the approved version of anything that has a pending status.

We are able to get all the versions of a specific item (using /items/${itemId}/versions?expand=fields) but this is one query for each item. Ideally we would be able to combine these so we can get just the approved versions of everything in the list.

Is this possible?

发布评论

评论列表(0)

  1. 暂无评论