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": "1e8b77b4-8ee2-45e2-8b0f-965624eccff2",
      "TeacherId": "179966ca-eb51-4df6-8e97-e72cce40d08a",
      "RegistrationId": "e2b33ccf-17da-4f6d-ac1c-11c43697dbe4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f190d914-c845-425c-9d0e-f74dfab8a446",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f190d914-c845-425c-9d0e-f74dfab8a446",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "1e8b77b4-8ee2-45e2-8b0f-965624eccff2",
      "TeacherId": "179966ca-eb51-4df6-8e97-e72cce40d08a",
      "RegistrationId": "e2b33ccf-17da-4f6d-ac1c-11c43697dbe4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "f190d914-c845-425c-9d0e-f74dfab8a446",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "f190d914-c845-425c-9d0e-f74dfab8a446",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "76107543-fd92-47d1-907e-74f8a7892cf6",
      "ClassType": 0,
      "TeacherId": "cc24b6d1-a212-4f4e-9879-99af81766ada",
      "StudentId": "ff91473a-bf6d-4664-9c0b-2c2c0191b882",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-23T10:17:47.7293111+00:00",
      "DateCompleted": "2026-11-23T10:17:47.7293111+00:00",
      "Created": "2026-11-23T10:17:47.7293111+00:00",
      "LastUpdated": "2026-11-23T10:17:47.7293111+00:00"
    },
    {
      "Id": "76107543-fd92-47d1-907e-74f8a7892cf6",
      "ClassType": 0,
      "TeacherId": "cc24b6d1-a212-4f4e-9879-99af81766ada",
      "StudentId": "ff91473a-bf6d-4664-9c0b-2c2c0191b882",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-23T10:17:47.7293111+00:00",
      "DateCompleted": "2026-11-23T10:17:47.7293111+00:00",
      "Created": "2026-11-23T10:17:47.7293111+00:00",
      "LastUpdated": "2026-11-23T10:17:47.7293111+00:00"
    }
  ]
}