列出结果
命名空间:microsoft.graph
检索 educationOutcome 对象 的列表。 有三种类型的结果 :educationPointsOutcome、educationFeedbackOutcome 和 educationRubricOutcome。
对于没有点值和 (信用额度的信用分配提交) 将具有 educationFeedbackOutcome。 (它也可能返回 educationPointsOutcome,但会忽略该结果。)
分数分配提交 (分配了分数值的) 将同时具有 educationFeedbackOutcome 和 educationPointsOutcome。
具有附加的分数的作业提交(如果分数为信用额度 (不为) 分)将具有 educationFeedbackOutcome 和 educationRubricOutcome。 (它也可能返回 educationPointsOutcome,但会忽略该结果。)
对于附加了标点的工作分配,如果分数为分值,则提交内容将具有 educationFeedbackOutcome,即 [educationPointsOutcome] (。/resources/educationpointsoutcome.md 和 educationRubricOutcome。
所有结果类型都有一个适合该结果类型的常规和已发布属性;例如 ,points 和 publishedPoints 、feedback 和 publishedFeedback。 常规属性是由教师更新的最新值;已发布属性是返回到学生的最新值。
权限
要调用此 API,需要以下权限之一。要了解详细信息,包括如何选择权限的信息,请参阅权限。
| 权限类型 | 权限(从最低特权到最高特权) |
|---|---|
| 委派(工作或学校帐户) | EduAssignments.ReadBasic、EduAssignments.ReadWriteBasic、EduAssignments.Read、EduAssignments.ReadWrite |
| 委派(个人 Microsoft 帐户) | 不支持。 |
| 应用程序 | EduAssignments.ReadBasic.All、EduAssignments.ReadWriteBasic.All、EduAssignments.Read.All、EduAssignments.ReadWrite.All |
HTTP 请求
GET /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/outcomes
请求标头
| 名称 | 说明 |
|---|---|
| Authorization | 持有者 {token} |
请求正文
请勿提供此方法的请求正文。
响应
如果成功,此方法在响应 200 OK 正文中返回 响应代码和 educationOutcome 对象集合。
示例
请求
下面展示了示例请求。
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/outcomes
响应
下面展示了示例响应。
注意: 为了提高可读性,可能缩短了此处显示的响应对象。
HTTP/1.1 200 OK
Content-type: application/json
{
"value": [
{
"@odata.type": "#microsoft.graph.educationFeedbackOutcome",
"id": "ca05367a-b292-42d5-aff7-5d279feeace8",
"feedback": {
"feedbackDateTime": "2019-07-15T22:35:46.4847754Z",
"text": {
"content": "This is feedback for the assignment as a whole.",
"contentType": "text"
},
"feedbackBy": {
"user": {
"id": "9391878d-903c-406c-bb1c-0f17d00fd878"
}
}
},
"publishedFeedback": {
"feedbackDateTime": "2019-07-15T22:35:46.4847754Z",
"text": {
"content": "This is feedback for the assignment as a whole.",
"contentType": "text"
},
"feedbackBy": {
"user": {
"id": "9391878d-903c-406c-bb1c-0f17d00fd878"
}
}
}
},
{
"@odata.type": "#microsoft.graph.educationPointsOutcome",
"id": "ea1351f6-ba33-4940-b2cb-6a7254af2dc8",
"points": {
"gradedDateTime": "2019-07-15T22:36:02.2592364Z",
"points": 75,
"gradedBy": {
"user": {
"id": "9391878d-903c-406c-bb1c-0f17d00fd878"
}
}
},
"publishedPoints": {
"gradedDateTime": "2019-07-15T22:36:02.2592364Z",
"points": 75,
"gradedBy": {
"user": {
"id": "9391878d-903c-406c-bb1c-0f17d00fd878"
}
}
}
},
{
"@odata.type": "#microsoft.graph.educationRubricOutcome",
"id": "65a46d78-1a2b-4a7e-bcf8-78a22ac2611b",
"rubricQualityFeedback": [
{
"qualityId": "ebe97fd7-47f7-4e9a-b31b-221ad731fc5a",
"feedback": {
"content": "This is feedback specific to this quality of the rubric.",
"contentType": "text"
}
},
{
"qualityId": "bbf3fb4a-a794-4b51-a1ad-c22fb891c5d8",
"feedback": {
"content": "This is feedback specific to this quality of the rubric.",
"contentType": "text"
}
}
],
"rubricQualitySelectedLevels": [
{
"qualityId": "ebe97fd7-47f7-4e9a-b31b-221ad731fc5a",
"columnId": "db2a0c91-abef-44cb-b8b1-ef1f85ef4a77"
},
{
"qualityId": "bbf3fb4a-a794-4b51-a1ad-c22fb891c5d8",
"columnId": "519cd134-c513-40b9-aa71-fdb0d063c084"
}
],
"publishedRubricQualityFeedback": [
{
"qualityId": "ebe97fd7-47f7-4e9a-b31b-221ad731fc5a",
"feedback": {
"content": "This is feedback specific to this quality of the rubric.",
"contentType": "text"
}
},
{
"qualityId": "bbf3fb4a-a794-4b51-a1ad-c22fb891c5d8",
"feedback": {
"content": "This is feedback specific to this quality of the rubric.",
"contentType": "text"
}
}
],
"publishedRubricQualitySelectedLevels": [
{
"qualityId": "ebe97fd7-47f7-4e9a-b31b-221ad731fc5a",
"columnId": "db2a0c91-abef-44cb-b8b1-ef1f85ef4a77"
},
{
"qualityId": "bbf3fb4a-a794-4b51-a1ad-c22fb891c5d8",
"columnId": "519cd134-c513-40b9-aa71-fdb0d063c084"
}
]
}
]
}
反馈
提交和查看相关反馈