GET classes/{classId}/classResults

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user passes at least one of the following conditions: Authenticated user is a staff member and is assigned to the same center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user is a staff member and is assigned to the online center as a user who matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request. Authenticated user matches any student who has a result for class specified by "classId" uri parameter parameter or by content of request.
  • Authenticated user who is either StaffMember

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classId

string

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultAggregationViewModel
NameDescriptionTypeAdditional information
PartialResults

Collection of PearsonEnglish.LearningServices.Wse.Models.Views.RatingSchemaPartsResultsViewModel

None.

Results

Collection of PearsonEnglish.LearningServices.Wse.Models.Views.ClassResultViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "PartialResults": [
    {
      "StudentId": "44f4f2e8-6f30-4d97-a7a2-ad2cea674df3",
      "TeacherId": "0f51eaff-14c3-499d-a3c3-220bb2a8ab97",
      "RegistrationId": "86a096d3-49f3-4bf4-bd4f-5b9c5fc7d8b6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6ec544fd-b996-4379-91c9-e17b66f20fa2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6ec544fd-b996-4379-91c9-e17b66f20fa2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "44f4f2e8-6f30-4d97-a7a2-ad2cea674df3",
      "TeacherId": "0f51eaff-14c3-499d-a3c3-220bb2a8ab97",
      "RegistrationId": "86a096d3-49f3-4bf4-bd4f-5b9c5fc7d8b6",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6ec544fd-b996-4379-91c9-e17b66f20fa2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6ec544fd-b996-4379-91c9-e17b66f20fa2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0c0691b4-dc7b-4bcf-adb8-4e5974891557",
      "ClassType": 0,
      "TeacherId": "880cb163-7ebf-4bbc-92e7-2e756dee5450",
      "StudentId": "11d33de7-b350-48dc-9e11-bbdff17e0c25",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-07T01:02:03.5523392+00:00",
      "DateCompleted": "2025-12-07T01:02:03.5523392+00:00",
      "Created": "2025-12-07T01:02:03.5523392+00:00",
      "LastUpdated": "2025-12-07T01:02:03.5523392+00:00"
    },
    {
      "Id": "0c0691b4-dc7b-4bcf-adb8-4e5974891557",
      "ClassType": 0,
      "TeacherId": "880cb163-7ebf-4bbc-92e7-2e756dee5450",
      "StudentId": "11d33de7-b350-48dc-9e11-bbdff17e0c25",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-07T01:02:03.5523392+00:00",
      "DateCompleted": "2025-12-07T01:02:03.5523392+00:00",
      "Created": "2025-12-07T01:02:03.5523392+00:00",
      "LastUpdated": "2025-12-07T01:02:03.5523392+00:00"
    }
  ]
}