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": "6dd2d7a1-48e7-467d-93f5-6510de0e9b6a",
      "TeacherId": "f87bb33d-710f-40a0-bbe6-c60910d1990b",
      "RegistrationId": "818887d3-7445-45dd-84e1-e1eac432b34d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8bb69dd1-6972-411f-9cbc-458e365f39e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8bb69dd1-6972-411f-9cbc-458e365f39e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "6dd2d7a1-48e7-467d-93f5-6510de0e9b6a",
      "TeacherId": "f87bb33d-710f-40a0-bbe6-c60910d1990b",
      "RegistrationId": "818887d3-7445-45dd-84e1-e1eac432b34d",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8bb69dd1-6972-411f-9cbc-458e365f39e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8bb69dd1-6972-411f-9cbc-458e365f39e8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0f91868d-64d6-4c42-a8e7-d2c74b1a7414",
      "ClassType": 0,
      "TeacherId": "a6eef028-93f4-4cab-b743-be35986e5dc9",
      "StudentId": "9f07105e-0764-473e-8f5a-78c7a425d050",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-18T13:31:47.4322651+00:00",
      "DateCompleted": "2026-08-18T13:31:47.4322651+00:00",
      "Created": "2026-08-18T13:31:47.4322651+00:00",
      "LastUpdated": "2026-08-18T13:31:47.4322651+00:00"
    },
    {
      "Id": "0f91868d-64d6-4c42-a8e7-d2c74b1a7414",
      "ClassType": 0,
      "TeacherId": "a6eef028-93f4-4cab-b743-be35986e5dc9",
      "StudentId": "9f07105e-0764-473e-8f5a-78c7a425d050",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-18T13:31:47.4322651+00:00",
      "DateCompleted": "2026-08-18T13:31:47.4322651+00:00",
      "Created": "2026-08-18T13:31:47.4322651+00:00",
      "LastUpdated": "2026-08-18T13:31:47.4322651+00:00"
    }
  ]
}