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": "b8aca453-d485-46fe-a0c0-ef50538f9c0d",
      "TeacherId": "d12c417a-6b3b-47bd-8199-8fef05035fc0",
      "RegistrationId": "d7ef8dd3-f02a-4b18-8a3b-d2b44020c2c5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "0509d2f6-e82d-4cf8-bcd1-39b64450ae16",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "0509d2f6-e82d-4cf8-bcd1-39b64450ae16",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "b8aca453-d485-46fe-a0c0-ef50538f9c0d",
      "TeacherId": "d12c417a-6b3b-47bd-8199-8fef05035fc0",
      "RegistrationId": "d7ef8dd3-f02a-4b18-8a3b-d2b44020c2c5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "0509d2f6-e82d-4cf8-bcd1-39b64450ae16",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "0509d2f6-e82d-4cf8-bcd1-39b64450ae16",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "fb41d3ee-c8d4-4e96-8b38-b50b4b31ab14",
      "ClassType": 0,
      "TeacherId": "1a6ebcdd-d8b6-49c6-b80b-89984fdfc737",
      "StudentId": "f323364e-40f2-44e8-9d47-ff3bb11aa46d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-28T18:58:52.1387708+00:00",
      "DateCompleted": "2026-07-28T18:58:52.1387708+00:00",
      "Created": "2026-07-28T18:58:52.1387708+00:00",
      "LastUpdated": "2026-07-28T18:58:52.1387708+00:00"
    },
    {
      "Id": "fb41d3ee-c8d4-4e96-8b38-b50b4b31ab14",
      "ClassType": 0,
      "TeacherId": "1a6ebcdd-d8b6-49c6-b80b-89984fdfc737",
      "StudentId": "f323364e-40f2-44e8-9d47-ff3bb11aa46d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-28T18:58:52.1387708+00:00",
      "DateCompleted": "2026-07-28T18:58:52.1387708+00:00",
      "Created": "2026-07-28T18:58:52.1387708+00:00",
      "LastUpdated": "2026-07-28T18:58:52.1387708+00:00"
    }
  ]
}