在SharePoint Online上使用OneNote API列出笔记本部分

时间:2015-08-11 07:28:12

标签: onenote onenote-api

当我尝试使用OneNote API (GET https://www.onenote.com/api/beta/myorganization/siteCollections/{site-collection-id}/sites/{site-id}/notes/notebooks/{notebook-id}/sections)

在SharePoint Online上列出笔记本的各个部分时

我收到以下错误消息:

{
    "error":{
    "code":"10001","message":"An unexpected server error has occurred. Please try again later.","@api.url":"http://go.microsoft.com/fwlink/?LinkID=400804"
    }
}

我可以使用OneNote API (POST)向笔记本添加新的部分。

使用OneNote API on OneDrive for Business(Office 365),这非常有效。

1 个答案:

答案 0 :(得分:0)

下面的语法应该可以使用,我测试了它: https://www.onenote.com/api/beta/myorganization/siteCollections/ {站点集合-ID} /位点/ {站点ID} /笔记/部分