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 the class. Callers can continue to specify custom values on each assignment creation if they do not want the default behaviors.
Methods
| Method | Return type | Description |
|---|---|---|
| Get educationAssignmentDefaults | educationAssignmentDefaults | Read the properties and relationships of an educationAssignmentDefaults object. |
| Update educationAssignmentDefaults | educationAssignmentDefaults | Update the properties of an educationAssignmentDefaults object. |
Properties
| Property | Type | Description |
|---|---|---|
| id | String | Unique identifier for the educationAssignmentDefaults |
| 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. Note that 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. |
| notificationChannelUrl | String | Default Teams channel to which notifications will be sent. Default value is null. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"id": "String (identifier)",
"addedStudentAction": "none",
"addToCalendarAction": "none",
"dueTime": "23:59:00",
"notificationChannelUrl": "https://graph.microsoft.com/beta/teams('id')/channels('id')"
}
Feedback
Submit and view feedback for