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": "6f0e01c5-e42d-4c54-a6d8-7b16f29070b4",
      "TeacherId": "b1e7bf3c-4adf-4572-ad17-4183837cf417",
      "RegistrationId": "ed3ac58e-bc31-45d0-bb70-c348a8adb2d9",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7bda20f3-c69d-419b-b3da-8659d22fbede",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7bda20f3-c69d-419b-b3da-8659d22fbede",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6f0e01c5-e42d-4c54-a6d8-7b16f29070b4",
      "TeacherId": "b1e7bf3c-4adf-4572-ad17-4183837cf417",
      "RegistrationId": "ed3ac58e-bc31-45d0-bb70-c348a8adb2d9",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "7bda20f3-c69d-419b-b3da-8659d22fbede",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "7bda20f3-c69d-419b-b3da-8659d22fbede",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "40425e13-6ca9-490d-aa27-4e7ec30a6f12",
      "ClassType": 0,
      "TeacherId": "514e93b3-f127-4f9c-9de4-557f4a2e8eec",
      "StudentId": "21e27840-1647-4522-a92a-d94b7b19db47",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-24T06:01:16.9217307+00:00",
      "DateCompleted": "2025-11-24T06:01:16.9217307+00:00",
      "Created": "2025-11-24T06:01:16.9217307+00:00",
      "LastUpdated": "2025-11-24T06:01:16.9217307+00:00"
    },
    {
      "Id": "40425e13-6ca9-490d-aa27-4e7ec30a6f12",
      "ClassType": 0,
      "TeacherId": "514e93b3-f127-4f9c-9de4-557f4a2e8eec",
      "StudentId": "21e27840-1647-4522-a92a-d94b7b19db47",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-24T06:01:16.9217307+00:00",
      "DateCompleted": "2025-11-24T06:01:16.9217307+00:00",
      "Created": "2025-11-24T06:01:16.9217307+00:00",
      "LastUpdated": "2025-11-24T06:01:16.9217307+00:00"
    }
  ]
}