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": "298281fe-2544-4c4f-9c99-afd3b156f863",
      "TeacherId": "6959edcd-fe69-415e-8e9d-19de2470799f",
      "RegistrationId": "dcb4c834-bf32-4e87-a0c7-8d96319e868f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8b298dac-1a9a-4931-8402-909801014613",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8b298dac-1a9a-4931-8402-909801014613",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "298281fe-2544-4c4f-9c99-afd3b156f863",
      "TeacherId": "6959edcd-fe69-415e-8e9d-19de2470799f",
      "RegistrationId": "dcb4c834-bf32-4e87-a0c7-8d96319e868f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8b298dac-1a9a-4931-8402-909801014613",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8b298dac-1a9a-4931-8402-909801014613",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f3091b36-1c96-4d62-965b-b3f864e49600",
      "ClassType": 0,
      "TeacherId": "f1aa53a1-86ec-4814-beb6-a876a38a09bd",
      "StudentId": "d94f9e7c-eea4-4e76-b349-5d2dc52c1c43",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-20T03:13:20.4819223+00:00",
      "DateCompleted": "2026-04-20T03:13:20.4819223+00:00",
      "Created": "2026-04-20T03:13:20.4819223+00:00",
      "LastUpdated": "2026-04-20T03:13:20.4819223+00:00"
    },
    {
      "Id": "f3091b36-1c96-4d62-965b-b3f864e49600",
      "ClassType": 0,
      "TeacherId": "f1aa53a1-86ec-4814-beb6-a876a38a09bd",
      "StudentId": "d94f9e7c-eea4-4e76-b349-5d2dc52c1c43",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-20T03:13:20.4819223+00:00",
      "DateCompleted": "2026-04-20T03:13:20.4819223+00:00",
      "Created": "2026-04-20T03:13:20.4819223+00:00",
      "LastUpdated": "2026-04-20T03:13:20.4819223+00:00"
    }
  ]
}