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": "cf3df7d7-b0d2-4d68-a4de-8d12fa9c4a3e",
      "TeacherId": "8a13f687-bd2c-4e1f-a8f6-5506563104f3",
      "RegistrationId": "8e81bdba-f747-45ba-8d58-ef7f3d591ed3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "36223d2e-f827-4710-9690-056134979398",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "36223d2e-f827-4710-9690-056134979398",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "cf3df7d7-b0d2-4d68-a4de-8d12fa9c4a3e",
      "TeacherId": "8a13f687-bd2c-4e1f-a8f6-5506563104f3",
      "RegistrationId": "8e81bdba-f747-45ba-8d58-ef7f3d591ed3",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "36223d2e-f827-4710-9690-056134979398",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "36223d2e-f827-4710-9690-056134979398",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "d4b7fd3d-33aa-42b9-bcd7-472017e88bd3",
      "ClassType": 0,
      "TeacherId": "36066434-61b4-40bf-8cea-f0dba6c2701f",
      "StudentId": "04c123a8-afc9-43f2-9c3e-4ec49ad6dd17",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-28T23:33:09.1484539+00:00",
      "DateCompleted": "2026-09-28T23:33:09.1484539+00:00",
      "Created": "2026-09-28T23:33:09.1484539+00:00",
      "LastUpdated": "2026-09-28T23:33:09.1484539+00:00"
    },
    {
      "Id": "d4b7fd3d-33aa-42b9-bcd7-472017e88bd3",
      "ClassType": 0,
      "TeacherId": "36066434-61b4-40bf-8cea-f0dba6c2701f",
      "StudentId": "04c123a8-afc9-43f2-9c3e-4ec49ad6dd17",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-28T23:33:09.1484539+00:00",
      "DateCompleted": "2026-09-28T23:33:09.1484539+00:00",
      "Created": "2026-09-28T23:33:09.1484539+00:00",
      "LastUpdated": "2026-09-28T23:33:09.1484539+00:00"
    }
  ]
}