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": "ac9fe8ea-2b88-4a09-bbd4-eba9d03c3cb4",
      "TeacherId": "37386ce1-b2b0-4f89-b7b4-507346ca9d3b",
      "RegistrationId": "ccd5c298-e868-4c08-a270-d36a3de00505",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8143ff1b-aff6-4c49-9882-6d3c2c9a1b2a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8143ff1b-aff6-4c49-9882-6d3c2c9a1b2a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ac9fe8ea-2b88-4a09-bbd4-eba9d03c3cb4",
      "TeacherId": "37386ce1-b2b0-4f89-b7b4-507346ca9d3b",
      "RegistrationId": "ccd5c298-e868-4c08-a270-d36a3de00505",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8143ff1b-aff6-4c49-9882-6d3c2c9a1b2a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8143ff1b-aff6-4c49-9882-6d3c2c9a1b2a",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "e94532f1-1f75-4089-9dba-c9060b91ba4d",
      "ClassType": 0,
      "TeacherId": "56650e13-e027-41c0-87af-5e1ec3ee4193",
      "StudentId": "ef479262-ab55-429c-861f-7ad3155ef21c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-17T21:24:57.9594593+00:00",
      "DateCompleted": "2026-11-17T21:24:57.9594593+00:00",
      "Created": "2026-11-17T21:24:57.9594593+00:00",
      "LastUpdated": "2026-11-17T21:24:57.9594593+00:00"
    },
    {
      "Id": "e94532f1-1f75-4089-9dba-c9060b91ba4d",
      "ClassType": 0,
      "TeacherId": "56650e13-e027-41c0-87af-5e1ec3ee4193",
      "StudentId": "ef479262-ab55-429c-861f-7ad3155ef21c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-17T21:24:57.9594593+00:00",
      "DateCompleted": "2026-11-17T21:24:57.9594593+00:00",
      "Created": "2026-11-17T21:24:57.9594593+00:00",
      "LastUpdated": "2026-11-17T21:24:57.9594593+00:00"
    }
  ]
}