sectionGroup resource type

A section group in a OneNote notebook. Section groups can contain sections and section groups.

JSON representation

Here is a JSON representation of the resource.

{
  "createdBy": "string",
  "createdTime": "String (timestamp)",
  "id": "string (identifier)",
  "lastModifiedBy": "string",
  "lastModifiedTime": "String (timestamp)",
  "name": "string",
  "sectionGroupsUrl": "string",
  "sectionsUrl": "string",
  "self": "string"
}

Properties

Property Type Description
createdBy String The user who created the section group. Read-only.
createdTime 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 would look like this: '2014-01-01T00:00:00Z'. Read-only.
id String The unique identifier of the section group. Read-only.
lastModifiedBy String The user who last modified the section group. Read-only.
lastModifiedTime 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 would look like this: '2014-01-01T00:00:00Z'. Read-only.
name 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 Section 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 Section Create a section by posting to the sections collection in the specified section group.
List sections Section collection Get a collection of sections in the specified section group.