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": "31f9323b-08a1-4609-b1ba-c8b2618b157c",
      "TeacherId": "9e7f81d2-c278-499c-b50a-75c9e1396e1d",
      "RegistrationId": "2bc77409-f78c-4dc9-bfde-6f064de4f0c4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "616fbc20-2500-4ece-a639-24a394d0105d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "616fbc20-2500-4ece-a639-24a394d0105d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "31f9323b-08a1-4609-b1ba-c8b2618b157c",
      "TeacherId": "9e7f81d2-c278-499c-b50a-75c9e1396e1d",
      "RegistrationId": "2bc77409-f78c-4dc9-bfde-6f064de4f0c4",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "616fbc20-2500-4ece-a639-24a394d0105d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "616fbc20-2500-4ece-a639-24a394d0105d",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "d80e18ac-1c6e-41e8-8e32-687d543ec452",
      "ClassType": 0,
      "TeacherId": "d76a7250-6d85-4412-b8cd-5fc466c45fe2",
      "StudentId": "14bdbe0d-0231-4247-a2bd-e455db3a0231",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-18T12:18:42.6832713+00:00",
      "DateCompleted": "2025-11-18T12:18:42.6832713+00:00",
      "Created": "2025-11-18T12:18:42.6832713+00:00",
      "LastUpdated": "2025-11-18T12:18:42.6832713+00:00"
    },
    {
      "Id": "d80e18ac-1c6e-41e8-8e32-687d543ec452",
      "ClassType": 0,
      "TeacherId": "d76a7250-6d85-4412-b8cd-5fc466c45fe2",
      "StudentId": "14bdbe0d-0231-4247-a2bd-e455db3a0231",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-18T12:18:42.6832713+00:00",
      "DateCompleted": "2025-11-18T12:18:42.6832713+00:00",
      "Created": "2025-11-18T12:18:42.6832713+00:00",
      "LastUpdated": "2025-11-18T12:18:42.6832713+00:00"
    }
  ]
}