Microsoft
A OneNote notebook.
Here is a JSON representation of the resource
{
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"id": "string (identifier)",
"isDefault": true,
"isShared": true,
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"links": {"@odata.type": "microsoft.graph.notebookLinks"},
"displayName": "string",
"sectionGroupsUrl": "string",
"sectionsUrl": "string",
"self": "string",
"userRole": "String"
}
| Property | Type | Description |
|---|---|---|
| createdBy | identitySet | Identity of the user, device, and application which created the item. Read-only. |
| createdDateTime | DateTimeOffset | The date and time when the notebook was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. |
| id | String | The unique identifier of the notebook. Read-only. |
| isDefault | Boolean | Indicates whether this is the user's default notebook. Read-only. |
| isShared | Boolean | Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only. |
| lastModifiedBy | identitySet | Identity of the user, device, and application which created the item. Read-only. |
| lastModifiedDateTime | DateTimeOffset | The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. |
| links | NotebookLinks | Links for opening the notebook. The oneNoteClientURL link opens the notebook in the OneNote native client if it's installed. The oneNoteWebURL link opens the notebook in OneNote Online. |
| displayName | String | The name of the notebook. |
| sectionGroupsUrl | String | The URL for the sectionGroups navigation property, which returns all the section groups in the notebook. Read-only. |
| sectionsUrl | String | The URL for the sections navigation property, which returns all the sections in the notebook. Read-only. |
| self | String | The endpoint where you can get details about the notebook. Read-only. |
| userRole | String | Possible values are: Owner, Contributor, Reader, None. Owner represents owner-level access to the notebook. Contributor represents read/write access to the notebook. Reader represents read-only access to the notebook. Read-only. |
| Relationship | Type | Description |
|---|---|---|
| sectionGroups | SectionGroup collection | The section groups in the notebook. Read-only. Nullable. |
| sections | Section collection | The sections in the notebook. Read-only. Nullable. |
| Method | Return Type | Description |
|---|---|---|
| Get notebook | Notebook | Read the properties and relationships of the notebook. |
| Create section group | SectionGroup | Create a section group by posting to the sectionGroups collection in the specified notebook. |
| List section groups | SectionGroup collection | Get a collection of section groups in the specified notebook. |
| Create section | Section | Create a section by posting to the sections collection in the specified notebook. |
| List sections | Section collection | Get a collection of sections in the specified notebook. |
| copyNotebook | None | Copies a notebook. |