External DocumentationTo learn more, visit the Microsoft OneNote documentation.
Parameters
| Parameter | Description |
|---|---|
| Expand | Optional fields to include the response. For more information about the Expand parameter, please refer to Microsoft query parameters documentation. |
| Filter | Filter results using OData query syntax. |
| Limit | The maximum number of items to return per page. The maximum value for this parameter is 100. |
| Notebook Location | Choose whether to access OneNote from your account, OneDrive, or from a SharePoint site. |
| Offset | The pagination offset indicating the starting point for the next set of results. |
| Order By | Sort results by a specific property in ascending (asc) or descending (desc) order. For example: displayName asc |
| Return All Pages | Automatically fetch all resources, page by page. |
| Site ID | The ID of the SharePoint site that contains the OneNote notebook. Can be obtained by using the SharePoint List Sites action. |
| User ID | The ID of the user whose OneDrive contains the OneNote notebooks. Note: Using the delegated (OAuth) connection type will only allow to insert the connected user’s ID. |
Example Output
{
"value": [
{
"isDefault": true,
"userRole": "Owner",
"isShared": false,
"sectionsUrl": "https://graph.microsoft.com/v1.0/users/7d54cb02-aaa3-4016-9f9c-a4b49422dd9b/onenote/notebooks/1-10143016-70dc-4449-b92a-3015225f800d/sections",
"sectionGroupsUrl": "https://graph.microsoft.com/v1.0/users/7d54cb02-aaa3-4016-9f9c-a4b49422dd9b/onenote/notebooks/1-10143016-70dc-4449-b92a-3015225f800d/sectionGroups",
"links": {
"oneNoteClientUrl": {
"href": "onenote:https://contoso-my.sharepoint.com/personal/admin_m365x841051_onmicrosoft_com/Documents/Notebooks/My%20Private%20notebook"
},
"oneNoteWebUrl": {
"href": "https://contoso-my.sharepoint.com/personal/admin_m365x841051_onmicrosoft_com/Documents/Notebooks/My%20Private%20notebook"
}
}
}
]
}