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": "986a14ad-1c9b-4a87-87ea-ec9477617328",
      "TeacherId": "6a1b8e0a-265c-4cf1-8169-6eabac7fa491",
      "RegistrationId": "a834836e-c3f8-48e3-a408-9ebc06632bf8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d8d5bda1-df6f-4034-9c04-011ebb696403",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d8d5bda1-df6f-4034-9c04-011ebb696403",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "986a14ad-1c9b-4a87-87ea-ec9477617328",
      "TeacherId": "6a1b8e0a-265c-4cf1-8169-6eabac7fa491",
      "RegistrationId": "a834836e-c3f8-48e3-a408-9ebc06632bf8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d8d5bda1-df6f-4034-9c04-011ebb696403",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d8d5bda1-df6f-4034-9c04-011ebb696403",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "e6a893bc-28af-4f52-8236-4c18fd8a87ce",
      "ClassType": 0,
      "TeacherId": "c649e393-a6be-47f6-91da-94bb240e0bc0",
      "StudentId": "162db047-464b-489e-bc40-c88696bd5680",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-06T04:10:08.4782228+00:00",
      "DateCompleted": "2026-08-06T04:10:08.4782228+00:00",
      "Created": "2026-08-06T04:10:08.4782228+00:00",
      "LastUpdated": "2026-08-06T04:10:08.4782228+00:00"
    },
    {
      "Id": "e6a893bc-28af-4f52-8236-4c18fd8a87ce",
      "ClassType": 0,
      "TeacherId": "c649e393-a6be-47f6-91da-94bb240e0bc0",
      "StudentId": "162db047-464b-489e-bc40-c88696bd5680",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-06T04:10:08.4782228+00:00",
      "DateCompleted": "2026-08-06T04:10:08.4782228+00:00",
      "Created": "2026-08-06T04:10:08.4782228+00:00",
      "LastUpdated": "2026-08-06T04:10:08.4782228+00:00"
    }
  ]
}