0

我尝试了 POST notebooks REST API,但我得到的响应 JSON 与发布在 POST notebooks API 参考上的示例响应不同。

参考网址:http: //msdn.microsoft.com/en-us/library/dn790583%28v=office.15%29.aspx

API 参考上的示例响应 JSON 如下。

{
  "@odata.context":"https://www.onenote.com/api/v1.0/$metadata#notebooks",
  "value":[
    {
      "isDefault": false,
      "userRole":"Contributor",
      // Other notebook properties follow.
    }
  ]
}

但是,我得到的响应 JSON 如下。

{
  "@odata.context":"https://www.onenote.com/api/v1.0/$metadata#notebooks",
  "isDefault": false,
  "userRole":"Contributor",
  // Other notebook properties follow.
}

实际响应 JSON 没有“值”,笔记本属性的实际 JSON 对象不是“值”数组的元素。

参考正确吗?

4

1 回答 1

0

这似乎是我们的参考文档中的一个问题。我们会尽快更新!

谢谢。

于 2014-10-02T16:57:51.373 回答