sectionGroup resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
A section group in a OneNote notebook. Section groups can contain sections and section groups.
JSON representation
The following JSON representation shows the resource type.
{
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"id": "string (identifier)",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"displayName": "string",
"sectionGroupsUrl": "string",
"sectionsUrl": "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 group 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. |
id | String | The unique identifier of the section group. 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 group 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. |
displayName | String | The name of the section group. |
sectionGroupsUrl | String | The URL for the sectionGroups navigation property, which returns all the section groups in the section group. Read-only. |
sectionsUrl | String | The URL for the sections navigation property, which returns all the sections in the section group. Read-only. |
self | String | The endpoint where you can get details about the section group. Read-only. |
Relationships
Relationship | Type | Description |
---|---|---|
parentNotebook | notebook | The notebook that contains the section group. Read-only. |
parentSectionGroup | sectionGroup | The section group that contains the section group. Read-only. |
sectionGroups | sectionGroup collection | The section groups in the section. Read-only. Nullable. |
sections | onenoteSection collection | The sections in the section group. Read-only. Nullable. |
Methods
Method | Return Type | Description |
---|---|---|
List | sectionGroup collection | Get collection of section groups in the specified section group. |
Get | sectionGroup | Read the properties and relationships of the section group. |
Create | sectionGroup | Create a section group by posting to the sectionGroups collection in the specified section group. |
List sections | onenoteSection collection | Get a collection of sections in the specified section group. |
Create section | onenoteSection | Create a section by posting to the sections collection in the specified section group. |