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": "b2e1d89c-4f88-455a-a457-2b949613c4c8",
      "TeacherId": "e5313205-70e9-4588-bf75-25231a12bf66",
      "RegistrationId": "c12430f9-c628-4346-a6c9-a32480946b76",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6701ee7a-78d7-47d4-8258-a65ccc0894e6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6701ee7a-78d7-47d4-8258-a65ccc0894e6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "b2e1d89c-4f88-455a-a457-2b949613c4c8",
      "TeacherId": "e5313205-70e9-4588-bf75-25231a12bf66",
      "RegistrationId": "c12430f9-c628-4346-a6c9-a32480946b76",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6701ee7a-78d7-47d4-8258-a65ccc0894e6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6701ee7a-78d7-47d4-8258-a65ccc0894e6",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "7b4d08f2-5012-491a-89d4-87f72a7afa38",
      "ClassType": 0,
      "TeacherId": "56b8718d-ec48-4deb-822d-6b347628ed9f",
      "StudentId": "5ebb1f98-8aeb-4c37-abe0-c102b42068ff",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-03T00:53:59.816383+00:00",
      "DateCompleted": "2026-09-03T00:53:59.816383+00:00",
      "Created": "2026-09-03T00:53:59.816383+00:00",
      "LastUpdated": "2026-09-03T00:53:59.816383+00:00"
    },
    {
      "Id": "7b4d08f2-5012-491a-89d4-87f72a7afa38",
      "ClassType": 0,
      "TeacherId": "56b8718d-ec48-4deb-822d-6b347628ed9f",
      "StudentId": "5ebb1f98-8aeb-4c37-abe0-c102b42068ff",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-09-03T00:53:59.816383+00:00",
      "DateCompleted": "2026-09-03T00:53:59.816383+00:00",
      "Created": "2026-09-03T00:53:59.816383+00:00",
      "LastUpdated": "2026-09-03T00:53:59.816383+00:00"
    }
  ]
}