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": "265ae54b-53d7-419d-9366-2a0394649b95",
      "TeacherId": "81959fa2-54e9-4e2b-8662-35800d19f002",
      "RegistrationId": "ea4f3e7b-8b55-462a-a9aa-fa96513e40ab",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e399d952-1be2-4f54-ba00-0698105f7b55",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e399d952-1be2-4f54-ba00-0698105f7b55",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "265ae54b-53d7-419d-9366-2a0394649b95",
      "TeacherId": "81959fa2-54e9-4e2b-8662-35800d19f002",
      "RegistrationId": "ea4f3e7b-8b55-462a-a9aa-fa96513e40ab",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "e399d952-1be2-4f54-ba00-0698105f7b55",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "e399d952-1be2-4f54-ba00-0698105f7b55",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "7a04529c-72b1-4d34-b537-07330404b7b2",
      "ClassType": 0,
      "TeacherId": "4240bdaf-b900-4c0d-8c26-e1e5a3bb33a4",
      "StudentId": "28ef0143-4c98-411a-8061-d454fdccc50d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-17T19:01:19.8997216+00:00",
      "DateCompleted": "2026-11-17T19:01:19.8997216+00:00",
      "Created": "2026-11-17T19:01:19.8997216+00:00",
      "LastUpdated": "2026-11-17T19:01:19.8997216+00:00"
    },
    {
      "Id": "7a04529c-72b1-4d34-b537-07330404b7b2",
      "ClassType": 0,
      "TeacherId": "4240bdaf-b900-4c0d-8c26-e1e5a3bb33a4",
      "StudentId": "28ef0143-4c98-411a-8061-d454fdccc50d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-17T19:01:19.8997216+00:00",
      "DateCompleted": "2026-11-17T19:01:19.8997216+00:00",
      "Created": "2026-11-17T19:01:19.8997216+00:00",
      "LastUpdated": "2026-11-17T19:01:19.8997216+00:00"
    }
  ]
}