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": "f137bb9d-c51b-46b3-9a04-4a1f65fd268e",
      "TeacherId": "94219c2d-c989-4989-8d92-1fbd506f753b",
      "RegistrationId": "46b6d34a-3c4f-451c-a23f-f4a4e3d5af24",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "81a340a7-1e81-4579-9d46-2b78ca88e579",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "81a340a7-1e81-4579-9d46-2b78ca88e579",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "f137bb9d-c51b-46b3-9a04-4a1f65fd268e",
      "TeacherId": "94219c2d-c989-4989-8d92-1fbd506f753b",
      "RegistrationId": "46b6d34a-3c4f-451c-a23f-f4a4e3d5af24",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "81a340a7-1e81-4579-9d46-2b78ca88e579",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "81a340a7-1e81-4579-9d46-2b78ca88e579",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "3ad1c98b-b1f7-4644-b8e1-fac5fc18e7b3",
      "ClassType": 0,
      "TeacherId": "cdcf49ff-2468-4b2f-9429-9f812a4011b1",
      "StudentId": "ec6c4aa1-9bec-426c-b2b8-38a2ca259050",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-19T14:48:08.3396197+00:00",
      "DateCompleted": "2026-09-19T14:48:08.3396197+00:00",
      "Created": "2026-09-19T14:48:08.3396197+00:00",
      "LastUpdated": "2026-09-19T14:48:08.3396197+00:00"
    },
    {
      "Id": "3ad1c98b-b1f7-4644-b8e1-fac5fc18e7b3",
      "ClassType": 0,
      "TeacherId": "cdcf49ff-2468-4b2f-9429-9f812a4011b1",
      "StudentId": "ec6c4aa1-9bec-426c-b2b8-38a2ca259050",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-19T14:48:08.3396197+00:00",
      "DateCompleted": "2026-09-19T14:48:08.3396197+00:00",
      "Created": "2026-09-19T14:48:08.3396197+00:00",
      "LastUpdated": "2026-09-19T14:48:08.3396197+00:00"
    }
  ]
}