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": "4da7d972-9dd0-407d-8f90-46255a4e038a",
      "TeacherId": "284b5c1f-27f4-49c8-b805-54698ac181c3",
      "RegistrationId": "09bc66ae-1bb0-45f5-800f-1ca6ed5b7047",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "140e36bb-125f-4432-9bf4-f0faa7dc5bd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "140e36bb-125f-4432-9bf4-f0faa7dc5bd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4da7d972-9dd0-407d-8f90-46255a4e038a",
      "TeacherId": "284b5c1f-27f4-49c8-b805-54698ac181c3",
      "RegistrationId": "09bc66ae-1bb0-45f5-800f-1ca6ed5b7047",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "140e36bb-125f-4432-9bf4-f0faa7dc5bd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "140e36bb-125f-4432-9bf4-f0faa7dc5bd7",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "6c25ec0b-c3c1-4f63-af5c-9251da5857b5",
      "ClassType": 0,
      "TeacherId": "65ea3d77-4560-4f1b-bad4-b59e6880cc79",
      "StudentId": "2a1ec5ca-d24c-44c7-a346-b9e9cfef85c4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-27T23:14:50.2555875+00:00",
      "DateCompleted": "2026-08-27T23:14:50.2555875+00:00",
      "Created": "2026-08-27T23:14:50.2555875+00:00",
      "LastUpdated": "2026-08-27T23:14:50.2555875+00:00"
    },
    {
      "Id": "6c25ec0b-c3c1-4f63-af5c-9251da5857b5",
      "ClassType": 0,
      "TeacherId": "65ea3d77-4560-4f1b-bad4-b59e6880cc79",
      "StudentId": "2a1ec5ca-d24c-44c7-a346-b9e9cfef85c4",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-27T23:14:50.2555875+00:00",
      "DateCompleted": "2026-08-27T23:14:50.2555875+00:00",
      "Created": "2026-08-27T23:14:50.2555875+00:00",
      "LastUpdated": "2026-08-27T23:14:50.2555875+00:00"
    }
  ]
}