Microsoft graph api 通过RESTapi为MSonenote 365创建NotBook

Microsoft graph api 通过RESTapi为MSonenote 365创建NotBook,microsoft-graph-api,office365api,Microsoft Graph Api,Office365api,在通过REST api调用在MS365授权帐户中创建笔记本时。我面临一些问题,有人能告诉我对此需要做哪些更改吗 请求: POST - https://graph.microsoft.com:443/v1.0/me/notes/notebooks Body : { "name": "MSOneNoteBusiness_OSSA_5LyC" } 回应 Body : { "error": { "code": "BadRequest", "message": "Unsup

在通过REST api调用在MS365授权帐户中创建笔记本时。我面临一些问题,有人能告诉我对此需要做哪些更改吗

请求:

 POST - https://graph.microsoft.com:443/v1.0/me/notes/notebooks
Body : {
    "name": "MSOneNoteBusiness_OSSA_5LyC"
}
回应

Body : {
  "error": {
    "code": "BadRequest",
    "message": "Unsupported segment type. ODataQuery: users/8dc0a74f-0aa6-45f4-813b-92e910f40bd4/notes/notebooks",
    "innerError": {
      "request-id": "fa409682-5395-4189-a43c-757adcfaea35",
      "date": "2017-06-28T10:08:06"
    }
  }

请求应为POST
https://graph.microsoft.com/v1.0/me/onenote/notebooks
,而不是
/me/notes
,请求主体应该具有属性
displayName
。我们也有一个样本: