Rediger

Del via


sectionGroup resource type

Namespace: microsoft.graph

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.
displayName String The name of the section group.
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.
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
Get section group SectionGroup Read the properties and relationships of the section group.
Create section group SectionGroup Create a section group by posting to the sectionGroups collection in the specified section group.
List section groups SectionGroup collection Get collection of section groups in the specified section group.
Create section OnenoteSection Create a section by posting to the sections collection in the specified section group.
List sections OnenoteSection collection Get a collection of sections in the specified section group.