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": "d296d596-02f4-42d6-91b3-4717b8adfc9b",
      "TeacherId": "8ef1c8c4-86b3-4cb2-bbc9-ab7e1184b146",
      "RegistrationId": "8369fdb4-b8ab-4c2c-81e6-fb7ca07590bd",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dd0bd6d5-e763-4207-830f-1fdba661a200",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dd0bd6d5-e763-4207-830f-1fdba661a200",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d296d596-02f4-42d6-91b3-4717b8adfc9b",
      "TeacherId": "8ef1c8c4-86b3-4cb2-bbc9-ab7e1184b146",
      "RegistrationId": "8369fdb4-b8ab-4c2c-81e6-fb7ca07590bd",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dd0bd6d5-e763-4207-830f-1fdba661a200",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dd0bd6d5-e763-4207-830f-1fdba661a200",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "d9b0c17e-d0d0-4a0f-bb10-6a53def59b48",
      "ClassType": 0,
      "TeacherId": "3eb0cfab-841f-4df7-a3be-8ef6c120ee38",
      "StudentId": "9f4e3126-24ed-4350-9e63-b316c5feb110",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-19T09:41:37.2478087+00:00",
      "DateCompleted": "2026-09-19T09:41:37.2478087+00:00",
      "Created": "2026-09-19T09:41:37.2478087+00:00",
      "LastUpdated": "2026-09-19T09:41:37.2478087+00:00"
    },
    {
      "Id": "d9b0c17e-d0d0-4a0f-bb10-6a53def59b48",
      "ClassType": 0,
      "TeacherId": "3eb0cfab-841f-4df7-a3be-8ef6c120ee38",
      "StudentId": "9f4e3126-24ed-4350-9e63-b316c5feb110",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-19T09:41:37.2478087+00:00",
      "DateCompleted": "2026-09-19T09:41:37.2478087+00:00",
      "Created": "2026-09-19T09:41:37.2478087+00:00",
      "LastUpdated": "2026-09-19T09:41:37.2478087+00:00"
    }
  ]
}