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

Represents 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
Get educationAssignmentResource Read properties and relationships of an educationAssignmentResource object.
Delete from assignment 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. Required
id String ID of this resource. Read-only.
resource educationResource Resource object that is 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"}
}