educationAssignmentDefaults 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.

Specifies class-level defaults respected by new assignments created in a class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors.

Methods

Method Return type Description
Get educationAssignmentDefaults Read the properties and relationships of an educationAssignmentDefaults object.
Update educationAssignmentDefaults Update the properties of an educationAssignmentDefaults object.

Properties

Property Type Description
addedStudentAction educationAddedStudentAction Class-level default behavior for handling students who are added after the assignment is published. Possible values are: none, assignIfOpen.
addToCalendarAction educationAddToCalendarOptions Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: studentsOnly. The default value is none.
dueTime TimeOfDay Class-level default value for due time field. Default value is 23:59:00.
id String Unique identifier for the educationAssignmentDefaults.
notificationChannelUrl String Default Teams channel to which notifications are sent. Default value is null.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "addedStudentAction": "String",
  "addToCalendarAction": "String",  
  "dueTime": "String (timestamp)",
  "id": "String (identifier)",
  "notificationChannelUrl": "String"
}