Based on the metadata (https://graph.microsoft.com/beta/$metadata), the correct namespace and type should be microsoft.graph.educationAssignmentGradeType
. This also aligns with the JSON representation in the Graph documentation:
json
{
"id": "String (identifier)",
"addedStudentAction": "none",
"addToCalendarAction": "string",
"allowLateSubmissions": true,
"allowStudentsToAddResourcesToSubmission": true,
"assignDateTime": "String (timestamp)",
"assignTo": {"@odata.type": "microsoft.graph.educationAssignmentRecipient"},
"assignedDateTime": "String (timestamp)",
"classId": "String",
"closeDateTime": "String (timestamp)",
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"displayName": "String",
"dueDateTime": "String (timestamp)",
"grading": {"@odata.type": "microsoft.graph.educationAssignmentGradeType"},
"instructions": {"@odata.type": "microsoft.graph.itemBody"},
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"notificationChannelUrl": "string",
"status": "string",
"webUrl": "string",
"resourcesFolderUrl": "string"
}