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": "1f48c770-5455-47ab-95bb-db925e1f22ee",
      "TeacherId": "34434ffe-8ff8-41bb-b3ba-de1a6177d905",
      "RegistrationId": "38337e98-49a4-4f57-8af3-bad04f6daa45",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a32129e3-0295-488d-baf5-688ea8fa06d8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a32129e3-0295-488d-baf5-688ea8fa06d8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "1f48c770-5455-47ab-95bb-db925e1f22ee",
      "TeacherId": "34434ffe-8ff8-41bb-b3ba-de1a6177d905",
      "RegistrationId": "38337e98-49a4-4f57-8af3-bad04f6daa45",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "a32129e3-0295-488d-baf5-688ea8fa06d8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "a32129e3-0295-488d-baf5-688ea8fa06d8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "18948a3c-ac09-4c36-b292-c710320b6fac",
      "ClassType": 0,
      "TeacherId": "e01a1774-eb1d-4603-aa74-ddf38e7f21dd",
      "StudentId": "6ff830f3-ef4d-4908-8ab9-72dd75f21d23",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-28T13:25:22.439863+00:00",
      "DateCompleted": "2025-11-28T13:25:22.439863+00:00",
      "Created": "2025-11-28T13:25:22.439863+00:00",
      "LastUpdated": "2025-11-28T13:25:22.439863+00:00"
    },
    {
      "Id": "18948a3c-ac09-4c36-b292-c710320b6fac",
      "ClassType": 0,
      "TeacherId": "e01a1774-eb1d-4603-aa74-ddf38e7f21dd",
      "StudentId": "6ff830f3-ef4d-4908-8ab9-72dd75f21d23",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-28T13:25:22.439863+00:00",
      "DateCompleted": "2025-11-28T13:25:22.439863+00:00",
      "Created": "2025-11-28T13:25:22.439863+00:00",
      "LastUpdated": "2025-11-28T13:25:22.439863+00:00"
    }
  ]
}