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": "c7de252e-c4bd-4ac3-9173-ecafb22f0530",
      "TeacherId": "9dbcccef-d878-4bb8-8c9a-1cae1d79daa7",
      "RegistrationId": "d8b4e48b-d11e-4ec9-b191-287d01c80b74",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "89cdc0be-ce05-45e9-ac20-11a6ec249b1b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "89cdc0be-ce05-45e9-ac20-11a6ec249b1b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "c7de252e-c4bd-4ac3-9173-ecafb22f0530",
      "TeacherId": "9dbcccef-d878-4bb8-8c9a-1cae1d79daa7",
      "RegistrationId": "d8b4e48b-d11e-4ec9-b191-287d01c80b74",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "89cdc0be-ce05-45e9-ac20-11a6ec249b1b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "89cdc0be-ce05-45e9-ac20-11a6ec249b1b",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c1c7dce0-c648-48a9-83e4-83bffa28293b",
      "ClassType": 0,
      "TeacherId": "96d21e03-3b2b-4f05-b070-0fd9ab2c479a",
      "StudentId": "380ef4ee-82b7-44b3-b8e3-9ea7e59d17ce",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-06T22:16:32.5103482+00:00",
      "DateCompleted": "2026-03-06T22:16:32.5103482+00:00",
      "Created": "2026-03-06T22:16:32.5103482+00:00",
      "LastUpdated": "2026-03-06T22:16:32.5103482+00:00"
    },
    {
      "Id": "c1c7dce0-c648-48a9-83e4-83bffa28293b",
      "ClassType": 0,
      "TeacherId": "96d21e03-3b2b-4f05-b070-0fd9ab2c479a",
      "StudentId": "380ef4ee-82b7-44b3-b8e3-9ea7e59d17ce",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-06T22:16:32.5103482+00:00",
      "DateCompleted": "2026-03-06T22:16:32.5103482+00:00",
      "Created": "2026-03-06T22:16:32.5103482+00:00",
      "LastUpdated": "2026-03-06T22:16:32.5103482+00:00"
    }
  ]
}