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": "a284d4a5-6009-4afe-9c10-d814e3bcfd05",
      "TeacherId": "81330cfd-351b-44cb-a9e7-eb93da026d6a",
      "RegistrationId": "ccf0c129-d835-42b8-aa96-cb7a0e7254bc",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f5c15a8f-ef6e-4d33-b5a6-6d3451f727f6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f5c15a8f-ef6e-4d33-b5a6-6d3451f727f6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "a284d4a5-6009-4afe-9c10-d814e3bcfd05",
      "TeacherId": "81330cfd-351b-44cb-a9e7-eb93da026d6a",
      "RegistrationId": "ccf0c129-d835-42b8-aa96-cb7a0e7254bc",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f5c15a8f-ef6e-4d33-b5a6-6d3451f727f6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f5c15a8f-ef6e-4d33-b5a6-6d3451f727f6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "faeb0fc5-2766-43c4-bd85-38a05d67af9a",
      "ClassType": 0,
      "TeacherId": "bda1d89e-ff7b-457a-93f1-4e739d50c915",
      "StudentId": "df6ed1ab-b0eb-445a-b5d9-62fb7cc6b09a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-03T20:33:45.2842063+00:00",
      "DateCompleted": "2026-07-03T20:33:45.2842063+00:00",
      "Created": "2026-07-03T20:33:45.2842063+00:00",
      "LastUpdated": "2026-07-03T20:33:45.2842063+00:00"
    },
    {
      "Id": "faeb0fc5-2766-43c4-bd85-38a05d67af9a",
      "ClassType": 0,
      "TeacherId": "bda1d89e-ff7b-457a-93f1-4e739d50c915",
      "StudentId": "df6ed1ab-b0eb-445a-b5d9-62fb7cc6b09a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-03T20:33:45.2842063+00:00",
      "DateCompleted": "2026-07-03T20:33:45.2842063+00:00",
      "Created": "2026-07-03T20:33:45.2842063+00:00",
      "LastUpdated": "2026-07-03T20:33:45.2842063+00:00"
    }
  ]
}