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": "d09a7d4e-ca1a-47dd-ba09-63400dbdef2e",
      "TeacherId": "bf72749b-6184-4da8-8c20-a1af61ee82bb",
      "RegistrationId": "dde1728c-d3a1-4054-ac69-d0a0e9098799",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "35f12465-f843-44eb-a76d-0c5b7f7a56dd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "35f12465-f843-44eb-a76d-0c5b7f7a56dd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d09a7d4e-ca1a-47dd-ba09-63400dbdef2e",
      "TeacherId": "bf72749b-6184-4da8-8c20-a1af61ee82bb",
      "RegistrationId": "dde1728c-d3a1-4054-ac69-d0a0e9098799",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "35f12465-f843-44eb-a76d-0c5b7f7a56dd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "35f12465-f843-44eb-a76d-0c5b7f7a56dd",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "af8a3427-ea6d-4b7a-bdb8-d5627f2112f0",
      "ClassType": 0,
      "TeacherId": "b07bd8d3-bf3c-4e4a-a14e-cdd015fba1e0",
      "StudentId": "d6852f4d-19d4-42e2-aa38-5e285f57eb1e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-30T02:52:30.5498752+00:00",
      "DateCompleted": "2026-01-30T02:52:30.5498752+00:00",
      "Created": "2026-01-30T02:52:30.5498752+00:00",
      "LastUpdated": "2026-01-30T02:52:30.5498752+00:00"
    },
    {
      "Id": "af8a3427-ea6d-4b7a-bdb8-d5627f2112f0",
      "ClassType": 0,
      "TeacherId": "b07bd8d3-bf3c-4e4a-a14e-cdd015fba1e0",
      "StudentId": "d6852f4d-19d4-42e2-aa38-5e285f57eb1e",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-30T02:52:30.5498752+00:00",
      "DateCompleted": "2026-01-30T02:52:30.5498752+00:00",
      "Created": "2026-01-30T02:52:30.5498752+00:00",
      "LastUpdated": "2026-01-30T02:52:30.5498752+00:00"
    }
  ]
}