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": "413c00c6-3614-496e-9f43-8c5f83edf6d2",
      "TeacherId": "82bfee7b-743f-452d-b6e9-d2ea230ba871",
      "RegistrationId": "a8f81a96-f184-4b74-bd99-bec37e3320fb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "2bc9161a-5c6e-47d0-9eb7-a369c7afc3b4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "2bc9161a-5c6e-47d0-9eb7-a369c7afc3b4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "413c00c6-3614-496e-9f43-8c5f83edf6d2",
      "TeacherId": "82bfee7b-743f-452d-b6e9-d2ea230ba871",
      "RegistrationId": "a8f81a96-f184-4b74-bd99-bec37e3320fb",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "2bc9161a-5c6e-47d0-9eb7-a369c7afc3b4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "2bc9161a-5c6e-47d0-9eb7-a369c7afc3b4",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "2b91aa20-a7fc-410d-bdf5-8186cf12822c",
      "ClassType": 0,
      "TeacherId": "1a285e32-e657-4a08-93cb-11e438e05222",
      "StudentId": "7661586b-4214-4e65-b566-71399b9d75e8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-18T13:15:37.4463812+00:00",
      "DateCompleted": "2026-08-18T13:15:37.4463812+00:00",
      "Created": "2026-08-18T13:15:37.4463812+00:00",
      "LastUpdated": "2026-08-18T13:15:37.4463812+00:00"
    },
    {
      "Id": "2b91aa20-a7fc-410d-bdf5-8186cf12822c",
      "ClassType": 0,
      "TeacherId": "1a285e32-e657-4a08-93cb-11e438e05222",
      "StudentId": "7661586b-4214-4e65-b566-71399b9d75e8",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-18T13:15:37.4463812+00:00",
      "DateCompleted": "2026-08-18T13:15:37.4463812+00:00",
      "Created": "2026-08-18T13:15:37.4463812+00:00",
      "LastUpdated": "2026-08-18T13:15:37.4463812+00:00"
    }
  ]
}