获取 readingAssignmentSubmission
命名空间:microsoft.graph
重要
Microsoft Graph /beta
版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
读取 readAssignmentSubmission 对象的属性和关系。
权限
为此 API 选择标记为最低特权的权限。 只有在应用需要它时,才使用更高的特权权限。 有关委派权限和应用程序权限的详细信息,请参阅权限类型。 要了解有关这些权限的详细信息,请参阅 权限参考。
权限类型 | 最低特权权限 | 更高特权权限 |
---|---|---|
委派(工作或学校帐户) | 不支持。 | 不支持。 |
委派(个人 Microsoft 帐户) | 不支持。 | 不支持。 |
应用程序 | EduReports-Read.Read.All | 不支持。 |
HTTP 请求
GET /education/reports/readingAssignmentSubmission
可选的查询参数
此方法支持 $top
、 $filter
、 $orderby
和 $select
OData 查询参数来帮助自定义响应。 若要了解一般信息,请参阅 OData 查询参数。
$filter
所有属性都支持 和 $orderby
查询参数。
请求标头
名称 | 说明 |
---|---|
Authorization | 持有者 {token}。 必填。 详细了解 身份验证和授权。 |
请求正文
请勿提供此方法的请求正文。
响应
如果成功,此方法在响应正文中返回响应 200 OK
代码和 readingAssignmentSubmission 对象。
示例
示例 1:获取过去 24 小时内的阅读作业提交
以下示例演示如何获取过去 24 小时内的阅读作业提交。
请求
以下示例显示了一个请求。
GET https://graph.microsoft.com/beta/education/reports/readingAssignmentSubmission
响应
以下示例显示了过去 24 小时的默认响应。
注意:为了提高可读性,可能缩短了此处显示的响应对象。
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#education/reports/readingAssignmentSubmissions",
"value": [
{
"action": "Attempt",
"assignmentId": "66232464-3e0d-419a-a0b9-dbcd332cb606",
"classId": "f2df94da-9a47-4c65-958c-8289ae30243b",
"submissionId": "e6ea12ae-3c9b-48b5-a15a-e1979fd2b0ca",
"studentId": "34fb22eb-6e42-42e4-8a3c-b2e33faf5a56",
"submissionDateTime": "2023-09-19T11:44:16.0821219Z",
"accuracyScore": 94,
"wordsPerMinute": 154,
"wordCount": 98,
"mispronunciations": 1,
"omissions": 1,
"insertions": 4,
"selfCorrections": 0,
"repetitions": 0,
"monotoneScore": 2.4,
"missedShorts": 0,
"missedExclamationMarks": 0,
"missedPeriods": 9,
"missedQuestionMarks": 0,
"unexpectedPauses": 0,
"challengingWords": [
{
"Word": "drinks",
"Count": 2
},
{
"Word": "boost",
"Count": 6
}
]
}
]
}
示例 2:使用 $filter 获取特定日期的阅读作业提交
以下示例演示如何使用查询参数获取特定日期的 $filter
读取作业提交。
请求
以下示例显示了一个请求。
GET https://graph.microsoft.com/beta/education/reports/readingAssignmentSubmissions?$filter=submitDateTime gt 2023-10-10T00:00:00.000Z
响应
以下示例显示了相应的响应。
注意:为了提高可读性,可能缩短了此处显示的响应对象。
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#education/reports/readingAssignmentSubmissions",
"value": [
{
"action": "Attempt",
"assignmentId": "c43f6736-7faf-4cee-a742-55a583bd3c18",
"classId": "adef893e-ff63-4b47-a081-7ea03e7dba6a",
"submissionId": "980cc32e-d476-66f7-2d8d-5e7b4f92f01c",
"studentId": "12d3e83c-786e-4b02-92bd-8fd5290d6d87",
"submissionDateTime": "2024-01-11T00:20:33.9812849Z",
"accuracyScore": 85,
"wordsPerMinute": 90,
"wordCount": 200,
"mispronunciations": 5,
"omissions": 3,
"insertions": 2,
"selfCorrections": 4,
"repetitions": 3,
"monotoneScore": 70,
"missedShorts": 2,
"missedExclamationMarks": 1,
"missedPeriods": 1,
"missedQuestionMarks": 1,
"unexpectedPauses": 2,
"challengingWords": [
{
"word": "photosynthesis",
"count": 2
},
{
"word": "ecosystem",
"count": 6
},
{
"word": "biodiversity",
"count": 6
}
]
}
]
}