如何使用Office Management API获取指定时间段内的审核日志数据

时间:2019-03-11 15:15:42

标签: sharepoint office365 sharepoint-online audit-logging

我正在尝试使用Office管理api从sharepoint在线获取审核日志。

当我使用“ https://manage.office.com/api/v1.0/tenant-id/activity/feed/subscriptions/content?contentType=Audit.SharePoint”作为Api url时,我正在获取之前24小时的数据,但是我希望根据输入日期获得数据。

因此,我尝试了以下网址:-https://manage.office.com/api/v1.0/1749f70c-9141-4296-823e-becdf18906c1/activity/feed/subscriptions/content?contentType=Audit.SharePoint&startTime=06/03/2019&endTime=11/03/2019,我收到“ 400错误的请求”错误

在这种情况下,请求网址应该是什么?

参考:-{https://www.anupams.net/o365-management-api-automate-sharepoint/

0 个答案:

没有答案