educationAssignmentResource resource type

Namespace: microsoft.graph

A wrapper object that stores the resources associated with an assignment.

The wrapper adds the distributeForStudentWork property and indicates that this resource is copied to the student submission. If the object isn't copied, each student sees a link to the resource on the assignment. The student won't be able to update this resource. This is a handout from the teacher to the student with nothing to be turned in. If the resource is distributed, each student receives a copy of this resource in the resource list of their submission. Each student is able to modify their copy and submit it for grading.

Methods

Method Return Type Description
Create educationAssignmentResource Create an assignment resource.
Get educationAssignmentResource Get the properties of an education assignment resource associated with an assignment.
Delete None Delete a specific educationAssignmentResource attached to an assignment.

Properties

Property Type Description
distributeForStudentWork Boolean Indicates whether this resource should be copied to each student submission for modification and submission. Required
id String ID of this resource. Read-only.
resource educationResource Resource object that has been associated with this assignment.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "distributeForStudentWork": true,
  "id": "String (identifier)",
  "resource": {"@odata.type": "microsoft.graph.educationResource"}
}