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": "58bb085c-b977-45a1-896e-8405446fdfc2",
      "TeacherId": "8705fdb2-c10a-44b3-8668-089fe30c5801",
      "RegistrationId": "d6ab81a4-5e6a-4fff-90cc-9b02a2d46026",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b9c7eb51-6272-4b25-a3bd-0526eb22ffb3",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b9c7eb51-6272-4b25-a3bd-0526eb22ffb3",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "58bb085c-b977-45a1-896e-8405446fdfc2",
      "TeacherId": "8705fdb2-c10a-44b3-8668-089fe30c5801",
      "RegistrationId": "d6ab81a4-5e6a-4fff-90cc-9b02a2d46026",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b9c7eb51-6272-4b25-a3bd-0526eb22ffb3",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b9c7eb51-6272-4b25-a3bd-0526eb22ffb3",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "ada5ca86-46fc-4d62-a75e-e150ae28416b",
      "ClassType": 0,
      "TeacherId": "d0515622-aa10-4753-888b-b6cd798be42c",
      "StudentId": "afe08353-686e-4877-aa6c-300fbcb0cd48",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-21T04:22:08.8821069+00:00",
      "DateCompleted": "2026-05-21T04:22:08.8821069+00:00",
      "Created": "2026-05-21T04:22:08.8821069+00:00",
      "LastUpdated": "2026-05-21T04:22:08.8821069+00:00"
    },
    {
      "Id": "ada5ca86-46fc-4d62-a75e-e150ae28416b",
      "ClassType": 0,
      "TeacherId": "d0515622-aa10-4753-888b-b6cd798be42c",
      "StudentId": "afe08353-686e-4877-aa6c-300fbcb0cd48",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-05-21T04:22:08.8821069+00:00",
      "DateCompleted": "2026-05-21T04:22:08.8821069+00:00",
      "Created": "2026-05-21T04:22:08.8821069+00:00",
      "LastUpdated": "2026-05-21T04:22:08.8821069+00:00"
    }
  ]
}