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": "f21e652e-4c36-447b-8753-eec69f4ea179",
      "TeacherId": "cd19fdb0-ab37-4fc8-a311-6735f93431cf",
      "RegistrationId": "37005339-189c-4763-aeb6-9d3e1d5f718c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d68a850a-2a5a-48e8-8ef7-6c110365d4a9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d68a850a-2a5a-48e8-8ef7-6c110365d4a9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "f21e652e-4c36-447b-8753-eec69f4ea179",
      "TeacherId": "cd19fdb0-ab37-4fc8-a311-6735f93431cf",
      "RegistrationId": "37005339-189c-4763-aeb6-9d3e1d5f718c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "d68a850a-2a5a-48e8-8ef7-6c110365d4a9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "d68a850a-2a5a-48e8-8ef7-6c110365d4a9",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9982cdf2-1bd2-4a79-a0c8-f9897b7fe5a1",
      "ClassType": 0,
      "TeacherId": "d4a5ae05-ec4c-425e-88b6-98347710aac6",
      "StudentId": "0cb95aa7-a2db-4858-bb0e-eb9ec6afec48",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-21T12:55:37.4640474+00:00",
      "DateCompleted": "2026-07-21T12:55:37.4640474+00:00",
      "Created": "2026-07-21T12:55:37.4640474+00:00",
      "LastUpdated": "2026-07-21T12:55:37.4640474+00:00"
    },
    {
      "Id": "9982cdf2-1bd2-4a79-a0c8-f9897b7fe5a1",
      "ClassType": 0,
      "TeacherId": "d4a5ae05-ec4c-425e-88b6-98347710aac6",
      "StudentId": "0cb95aa7-a2db-4858-bb0e-eb9ec6afec48",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-21T12:55:37.4640474+00:00",
      "DateCompleted": "2026-07-21T12:55:37.4640474+00:00",
      "Created": "2026-07-21T12:55:37.4640474+00:00",
      "LastUpdated": "2026-07-21T12:55:37.4640474+00:00"
    }
  ]
}