section resource type
Namespace: microsoft.graph
A section in a OneNote notebook. Sections can contain pages.
JSON representation
The following JSON representation shows the resource type.
{
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"id": "string (identifier)",
"isDefault": true,
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"links": {"@odata.type": "microsoft.graph.sectionLinks"},
"displayName": "string",
"pagesUrl": "string",
"self": "string"
}
Properties
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 section 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 is 2014-01-01T00:00:00Z . Read-only. |
displayName | String | The name of the section. |
id | String | The unique identifier of the section. Read-only. |
isDefault | Boolean | Indicates whether this is the user's default section. 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 section 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 is 2014-01-01T00:00:00Z . Read-only. |
links | SectionLinks | Links for opening the section. The oneNoteClientURL link opens the section in the OneNote native client if it's installed. The oneNoteWebURL link opens the section in OneNote on the web. |
pagesUrl | String | The pages endpoint where you can get details for all the pages in the section. Read-only. |
self | String | The endpoint where you can get details about the section. Read-only. |
Relationships
Relationship | Type | Description |
---|---|---|
pages | OnenotePage collection | The collection of pages in the section. Read-only. Nullable. |
parentNotebook | Notebook | The notebook that contains the section. Read-only. |
parentSectionGroup | SectionGroup | The section group that contains the section. Read-only. |
Methods
Method | Return Type | Description |
---|---|---|
Get section | OnenoteSection | Read the properties and relationships of the section. |
Create page | Page | Create a page by posting to the pages collection in the specified section. |
List pages | Page collection | Get a collection of pages in the specified section. |
copyToNotebook | None | Copy the section to a specific notebook. |
copyToSectionGroup | None | Copy the section to a specific section group. |
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기