我在 Microsoft Graph 中调用列表分配终结点。它返回一个类数组,其中一个类如下所示。
如何解包引用的实体microsoft.graph.educationAssignmentClassRecipient
以获取收件人列表?
{
"classId": "bef6024d-c51d-4c2d-9c4c-4e290581e7b4",
"displayName": "Teleschool Week 5 Formative Grade",
"closeDateTime": null,
"dueDateTime": "2020-04-28T03:59:59Z",
"assignDateTime": null,
"assignedDateTime": "2020-04-24T15:51:00.8911402Z",
"allowLateSubmissions": true,
"createdDateTime": "2020-04-24T15:50:39.9443371Z",
"lastModifiedDateTime": "2020-04-24T15:51:03.7407937Z",
"allowStudentsToAddResourcesToSubmission": true,
"status": "assigned",
"id": "66e4a8f8-42ee-49e0-9503-e24a49be6908",
"instructions": {
"content": "",
"contentType": "text"
},
"grading": {
"@odata.type": "#microsoft.graph.educationAssignmentPointsGradeType",
"maxPoints": 100
},
"assignTo": {
"@odata.type": "#microsoft.graph.educationAssignmentClassRecipient"
}