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": "222384c2-8df5-4448-a403-9bd608e4bcb5",
      "TeacherId": "2416837f-b946-47d7-8f43-055d0cf59493",
      "RegistrationId": "38d6aae4-d3c1-41ae-ae52-9bb679dae008",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4f993441-be34-4b17-a8f3-d213caf771e2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4f993441-be34-4b17-a8f3-d213caf771e2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "222384c2-8df5-4448-a403-9bd608e4bcb5",
      "TeacherId": "2416837f-b946-47d7-8f43-055d0cf59493",
      "RegistrationId": "38d6aae4-d3c1-41ae-ae52-9bb679dae008",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "4f993441-be34-4b17-a8f3-d213caf771e2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "4f993441-be34-4b17-a8f3-d213caf771e2",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "b42b317f-951f-4031-83ac-e08bf1286c83",
      "ClassType": 0,
      "TeacherId": "fcf8fafa-9e18-4486-a6f3-3a6ec2157d82",
      "StudentId": "28ae608c-7929-4deb-a501-1d768b8a5c8a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-12-03T06:03:22.7538461+00:00",
      "DateCompleted": "2026-12-03T06:03:22.7538461+00:00",
      "Created": "2026-12-03T06:03:22.7538461+00:00",
      "LastUpdated": "2026-12-03T06:03:22.7538461+00:00"
    },
    {
      "Id": "b42b317f-951f-4031-83ac-e08bf1286c83",
      "ClassType": 0,
      "TeacherId": "fcf8fafa-9e18-4486-a6f3-3a6ec2157d82",
      "StudentId": "28ae608c-7929-4deb-a501-1d768b8a5c8a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-12-03T06:03:22.7538461+00:00",
      "DateCompleted": "2026-12-03T06:03:22.7538461+00:00",
      "Created": "2026-12-03T06:03:22.7538461+00:00",
      "LastUpdated": "2026-12-03T06:03:22.7538461+00:00"
    }
  ]
}