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": "47d3124d-6332-4c24-b67b-7d3397e8fadb",
      "TeacherId": "9333f4c5-01ba-4883-8cd2-0dd8ada2147b",
      "RegistrationId": "68cfeef1-a721-4f18-adf5-cdb0d438262f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cf54e2f1-9da3-489c-a077-a59557aa245e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cf54e2f1-9da3-489c-a077-a59557aa245e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "47d3124d-6332-4c24-b67b-7d3397e8fadb",
      "TeacherId": "9333f4c5-01ba-4883-8cd2-0dd8ada2147b",
      "RegistrationId": "68cfeef1-a721-4f18-adf5-cdb0d438262f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "cf54e2f1-9da3-489c-a077-a59557aa245e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "cf54e2f1-9da3-489c-a077-a59557aa245e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "57c6eeb8-8c04-47f6-9241-48f2627c50e1",
      "ClassType": 0,
      "TeacherId": "046ab86b-5fb4-4bf1-ab07-0b5a7d87be9e",
      "StudentId": "3f248da0-0164-4eac-9bc8-42422d01eb1a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-17T08:27:31.2226694+00:00",
      "DateCompleted": "2026-07-17T08:27:31.2226694+00:00",
      "Created": "2026-07-17T08:27:31.2226694+00:00",
      "LastUpdated": "2026-07-17T08:27:31.2226694+00:00"
    },
    {
      "Id": "57c6eeb8-8c04-47f6-9241-48f2627c50e1",
      "ClassType": 0,
      "TeacherId": "046ab86b-5fb4-4bf1-ab07-0b5a7d87be9e",
      "StudentId": "3f248da0-0164-4eac-9bc8-42422d01eb1a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-17T08:27:31.2226694+00:00",
      "DateCompleted": "2026-07-17T08:27:31.2226694+00:00",
      "Created": "2026-07-17T08:27:31.2226694+00:00",
      "LastUpdated": "2026-07-17T08:27:31.2226694+00:00"
    }
  ]
}