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": "0042b6e6-77b1-406e-b9e1-7b31c54ee48e",
      "TeacherId": "7d50823d-fdb4-4cba-b7c7-0de28077cdd8",
      "RegistrationId": "dcba0ef4-b7f7-42d9-af95-625db99e651c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "34cc0d59-3d3b-48d0-8908-68dabb9329eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "34cc0d59-3d3b-48d0-8908-68dabb9329eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "0042b6e6-77b1-406e-b9e1-7b31c54ee48e",
      "TeacherId": "7d50823d-fdb4-4cba-b7c7-0de28077cdd8",
      "RegistrationId": "dcba0ef4-b7f7-42d9-af95-625db99e651c",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "34cc0d59-3d3b-48d0-8908-68dabb9329eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "34cc0d59-3d3b-48d0-8908-68dabb9329eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "dd0a7d01-80ee-4e8d-80a6-b9e11aea1179",
      "ClassType": 0,
      "TeacherId": "5fefaf55-5c97-444f-833a-2a8074a8fd99",
      "StudentId": "aec3670c-3921-41c0-8c71-b8107f906ba0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-30T09:58:23.7214092+00:00",
      "DateCompleted": "2026-04-30T09:58:23.7214092+00:00",
      "Created": "2026-04-30T09:58:23.7214092+00:00",
      "LastUpdated": "2026-04-30T09:58:23.7214092+00:00"
    },
    {
      "Id": "dd0a7d01-80ee-4e8d-80a6-b9e11aea1179",
      "ClassType": 0,
      "TeacherId": "5fefaf55-5c97-444f-833a-2a8074a8fd99",
      "StudentId": "aec3670c-3921-41c0-8c71-b8107f906ba0",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-04-30T09:58:23.7214092+00:00",
      "DateCompleted": "2026-04-30T09:58:23.7214092+00:00",
      "Created": "2026-04-30T09:58:23.7214092+00:00",
      "LastUpdated": "2026-04-30T09:58:23.7214092+00:00"
    }
  ]
}