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": "35614d3e-3ad1-44cc-bc8b-d5df967a23b2",
      "TeacherId": "8abad330-14e0-4d5a-8903-39a3c6a986e1",
      "RegistrationId": "72848dbf-1fab-474d-b895-806544fd4b62",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "381c5d3b-22d8-43ac-bd1a-a4ad3b67d4e4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "381c5d3b-22d8-43ac-bd1a-a4ad3b67d4e4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "35614d3e-3ad1-44cc-bc8b-d5df967a23b2",
      "TeacherId": "8abad330-14e0-4d5a-8903-39a3c6a986e1",
      "RegistrationId": "72848dbf-1fab-474d-b895-806544fd4b62",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "381c5d3b-22d8-43ac-bd1a-a4ad3b67d4e4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "381c5d3b-22d8-43ac-bd1a-a4ad3b67d4e4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c69c6102-667e-4a09-827e-995e940b7f45",
      "ClassType": 0,
      "TeacherId": "4d0acbad-2e18-4ca8-b68a-41ac4086aea7",
      "StudentId": "25bf68e8-126c-4731-892e-3d942af97ce1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-05T15:36:32.0922572+00:00",
      "DateCompleted": "2026-03-05T15:36:32.0922572+00:00",
      "Created": "2026-03-05T15:36:32.0922572+00:00",
      "LastUpdated": "2026-03-05T15:36:32.0922572+00:00"
    },
    {
      "Id": "c69c6102-667e-4a09-827e-995e940b7f45",
      "ClassType": 0,
      "TeacherId": "4d0acbad-2e18-4ca8-b68a-41ac4086aea7",
      "StudentId": "25bf68e8-126c-4731-892e-3d942af97ce1",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-05T15:36:32.0922572+00:00",
      "DateCompleted": "2026-03-05T15:36:32.0922572+00:00",
      "Created": "2026-03-05T15:36:32.0922572+00:00",
      "LastUpdated": "2026-03-05T15:36:32.0922572+00:00"
    }
  ]
}