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": "800e3225-a597-4421-bb90-4c450192d1e6",
      "TeacherId": "bc714aab-faf2-4cdc-941f-462a7cbdf6bc",
      "RegistrationId": "43343f38-e2a2-4695-b229-f0c1373c3689",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f9687a76-ed3c-414d-a963-6f7eae8e2177",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f9687a76-ed3c-414d-a963-6f7eae8e2177",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "800e3225-a597-4421-bb90-4c450192d1e6",
      "TeacherId": "bc714aab-faf2-4cdc-941f-462a7cbdf6bc",
      "RegistrationId": "43343f38-e2a2-4695-b229-f0c1373c3689",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f9687a76-ed3c-414d-a963-6f7eae8e2177",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f9687a76-ed3c-414d-a963-6f7eae8e2177",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "01914300-7e41-4cc3-a711-7ecbd726a9e5",
      "ClassType": 0,
      "TeacherId": "70feea46-6933-44c4-a7b9-e860b8c5197c",
      "StudentId": "6d7fc289-d616-4b2e-adaf-65ce24565a37",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-31T08:29:09.4802942+00:00",
      "DateCompleted": "2026-10-31T08:29:09.4802942+00:00",
      "Created": "2026-10-31T08:29:09.4802942+00:00",
      "LastUpdated": "2026-10-31T08:29:09.4802942+00:00"
    },
    {
      "Id": "01914300-7e41-4cc3-a711-7ecbd726a9e5",
      "ClassType": 0,
      "TeacherId": "70feea46-6933-44c4-a7b9-e860b8c5197c",
      "StudentId": "6d7fc289-d616-4b2e-adaf-65ce24565a37",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-10-31T08:29:09.4802942+00:00",
      "DateCompleted": "2026-10-31T08:29:09.4802942+00:00",
      "Created": "2026-10-31T08:29:09.4802942+00:00",
      "LastUpdated": "2026-10-31T08:29:09.4802942+00:00"
    }
  ]
}