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": "4be885e7-faf0-4835-8f12-ee0b61bdf0b1",
      "TeacherId": "e8fac8e2-6496-48d0-8cd4-8058d8937dbb",
      "RegistrationId": "4b552e67-17f4-4750-b259-424be7db24af",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a78d72d5-f691-4ff6-9d36-528c43e2b50a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a78d72d5-f691-4ff6-9d36-528c43e2b50a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4be885e7-faf0-4835-8f12-ee0b61bdf0b1",
      "TeacherId": "e8fac8e2-6496-48d0-8cd4-8058d8937dbb",
      "RegistrationId": "4b552e67-17f4-4750-b259-424be7db24af",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a78d72d5-f691-4ff6-9d36-528c43e2b50a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a78d72d5-f691-4ff6-9d36-528c43e2b50a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f4d856b0-4fa9-488d-b55c-06806f0524cf",
      "ClassType": 0,
      "TeacherId": "f514168e-d724-4fc0-94de-cf53ac571239",
      "StudentId": "ea0ea09e-75a8-485b-9fc5-81a577ced4b1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-22T14:47:57.4714281+00:00",
      "DateCompleted": "2026-06-22T14:47:57.4714281+00:00",
      "Created": "2026-06-22T14:47:57.4714281+00:00",
      "LastUpdated": "2026-06-22T14:47:57.4714281+00:00"
    },
    {
      "Id": "f4d856b0-4fa9-488d-b55c-06806f0524cf",
      "ClassType": 0,
      "TeacherId": "f514168e-d724-4fc0-94de-cf53ac571239",
      "StudentId": "ea0ea09e-75a8-485b-9fc5-81a577ced4b1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-06-22T14:47:57.4714281+00:00",
      "DateCompleted": "2026-06-22T14:47:57.4714281+00:00",
      "Created": "2026-06-22T14:47:57.4714281+00:00",
      "LastUpdated": "2026-06-22T14:47:57.4714281+00:00"
    }
  ]
}