Hi @Saintenr ,
Per my test, I got the same result as yours. It should be the id of the document, when i use the api https://xxx.sharepoint.com/_api/v2.1/sites/xxx.sharepoint.com/lists/{our-library-id}/items/209
, I could get the result for that specific document.
If I add the getActivitiesByInterval
in the end, I would get the Item not found error as yours.
Currently, the Get item activity stats by interval api seems not work for using list/<list-id>/items/<item-id>
. As a workaround, you could use /drives/{drive-id}/items/{item-id}
. This would work for you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.