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": "3bd2bf29-14b8-40fb-957c-e9b431bb9579",
      "TeacherId": "b5874d40-671f-4dd1-be4a-f9aa7ddc1551",
      "RegistrationId": "45608487-5f6a-4dc0-88ce-a59a7ddf61b2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e9a1b495-b7de-4b32-b384-c11654ad1ca0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e9a1b495-b7de-4b32-b384-c11654ad1ca0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "3bd2bf29-14b8-40fb-957c-e9b431bb9579",
      "TeacherId": "b5874d40-671f-4dd1-be4a-f9aa7ddc1551",
      "RegistrationId": "45608487-5f6a-4dc0-88ce-a59a7ddf61b2",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e9a1b495-b7de-4b32-b384-c11654ad1ca0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e9a1b495-b7de-4b32-b384-c11654ad1ca0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "346a1fa5-7af5-4c9c-87ce-bf103a60358b",
      "ClassType": 0,
      "TeacherId": "d469857f-37b7-48e5-8797-595364829c3d",
      "StudentId": "9920fdaf-c2e1-4385-a17d-5fcc68da05d8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-28T03:01:20.2409445+00:00",
      "DateCompleted": "2026-03-28T03:01:20.2409445+00:00",
      "Created": "2026-03-28T03:01:20.2409445+00:00",
      "LastUpdated": "2026-03-28T03:01:20.2409445+00:00"
    },
    {
      "Id": "346a1fa5-7af5-4c9c-87ce-bf103a60358b",
      "ClassType": 0,
      "TeacherId": "d469857f-37b7-48e5-8797-595364829c3d",
      "StudentId": "9920fdaf-c2e1-4385-a17d-5fcc68da05d8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-28T03:01:20.2409445+00:00",
      "DateCompleted": "2026-03-28T03:01:20.2409445+00:00",
      "Created": "2026-03-28T03:01:20.2409445+00:00",
      "LastUpdated": "2026-03-28T03:01:20.2409445+00:00"
    }
  ]
}