Edit

Share via


List readingAssignmentSubmissions

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.

Get a list of reading assignments that were submitted by a student.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Not supported. Not supported.
Delegated (personal Microsoft account) Not supported. Not supported.
Application EduReports-Reading.ReadAnonymous.All EduReports-Reading.Read.All

HTTP request

GET /education/reports/readingAssignmentSubmissions

Optional query parameters

This method supports the $top, $filter, $count, $skiptoken and $select OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of readingAssignmentSubmission objects in the response body.

Examples

Example 1: Get a list of reading assignment submissions from the last 24 hours

The following example shows how to get a list of the reading assignment submissions from the last 24 hours.

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/education/reports/readingAssignmentSubmissions

Response

The following example shows the default response from the last 24 hours.

Note: The response object shown here might be shortened for readability.

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.0,
      "wordsPerMinute": 154.0,
      "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
        }
      ]
    }
  ]
}

Example 2: Get a list of the reading assignment submissions for a specific date using $filter

The following example shows how to get a list of the reading assignment submissions for a specific date using the $filter query parameter. The requested time range must be 24 hours or shorter.

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/education/reports/readingAssignmentSubmissions?$filter=submissionDateTime gt 2023-10-10T00:00:00.000Z and submissionDateTime lt 2023-10-11T00:00:00Z

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

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": "2023-10-10T00:20:33.9812849Z",
      "accuracyScore": 85.0,
      "wordsPerMinute": 90.0,
      "wordCount": 200,
      "mispronunciations": 5,
      "omissions": 3,
      "insertions": 2,
      "selfCorrections": 4,
      "repetitions": 3,
      "monotoneScore": 70.0,
      "missedShorts": 2,
      "missedExclamationMarks": 1,
      "missedPeriods": 1,
      "missedQuestionMarks": 1,
      "unexpectedPauses": 2,
      "challengingWords": [
        {
          "word": "photosynthesis",
          "count": 2
        },
        {
          "word": "ecosystem",
          "count": 6
        },
        {
          "word": "biodiversity",
          "count": 6
        }
      ]
    }
  ]
}