educationAssignmentResource resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

A wrapper object that stores the resources associated with an assignment. The wrapper adds the distributeForStudentWork property and indicates that this resource will be copied to the student submission. If the object is not copied, each student will see a link to the resource on the assignment. The student will not 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 will receive a copy of this resource in the resource list of their submission. Each student will be able to modify their copy and submit it for grading.

Methods

Method Return Type Description
Get educationAssignmentResource educationAssignmentResource Read properties and relationships of an educationAssignmentResource object.
Update educationAssignmentResource Update an educationAssignmentResource object.
Delete None Delete an educationAssignmentResource object.

Properties

Property Type Description
distributeForStudentWork Boolean Indicates whether this resource should be copied to each student submission for modification and submission.
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 is a JSON representation of the resource.

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