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": "eb7f853c-3377-4250-9618-c661556fd043",
      "TeacherId": "28aa61f1-7bc1-4116-849d-0443f8e214f2",
      "RegistrationId": "7e86cbfa-d078-432e-986c-f627abfc24ab",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7052fda7-032c-491b-a1c9-82f72f6f5939",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7052fda7-032c-491b-a1c9-82f72f6f5939",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "eb7f853c-3377-4250-9618-c661556fd043",
      "TeacherId": "28aa61f1-7bc1-4116-849d-0443f8e214f2",
      "RegistrationId": "7e86cbfa-d078-432e-986c-f627abfc24ab",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7052fda7-032c-491b-a1c9-82f72f6f5939",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7052fda7-032c-491b-a1c9-82f72f6f5939",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "7ff6c427-20e3-48b1-a334-9d743cfdedd7",
      "ClassType": 0,
      "TeacherId": "a2995748-aed4-456b-a6d6-7f8ba7751d02",
      "StudentId": "57f24c3b-384c-4746-b6c5-d7d840ca2f72",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-30T19:16:04.3084704+00:00",
      "DateCompleted": "2026-07-30T19:16:04.3084704+00:00",
      "Created": "2026-07-30T19:16:04.3084704+00:00",
      "LastUpdated": "2026-07-30T19:16:04.3084704+00:00"
    },
    {
      "Id": "7ff6c427-20e3-48b1-a334-9d743cfdedd7",
      "ClassType": 0,
      "TeacherId": "a2995748-aed4-456b-a6d6-7f8ba7751d02",
      "StudentId": "57f24c3b-384c-4746-b6c5-d7d840ca2f72",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-30T19:16:04.3084704+00:00",
      "DateCompleted": "2026-07-30T19:16:04.3084704+00:00",
      "Created": "2026-07-30T19:16:04.3084704+00:00",
      "LastUpdated": "2026-07-30T19:16:04.3084704+00:00"
    }
  ]
}