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": "e7b7302b-18aa-4f6e-8557-af5fd727e97d",
      "TeacherId": "32f68cd5-2f82-4bd7-9f49-3a55e8a142db",
      "RegistrationId": "bee977c1-061e-4351-b026-c0b76abab015",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "0b44378b-071b-4629-866c-03d04b987e2e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "0b44378b-071b-4629-866c-03d04b987e2e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e7b7302b-18aa-4f6e-8557-af5fd727e97d",
      "TeacherId": "32f68cd5-2f82-4bd7-9f49-3a55e8a142db",
      "RegistrationId": "bee977c1-061e-4351-b026-c0b76abab015",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "0b44378b-071b-4629-866c-03d04b987e2e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "0b44378b-071b-4629-866c-03d04b987e2e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "9fa75b24-dafc-472a-a742-f15b33bc8094",
      "ClassType": 0,
      "TeacherId": "0ab4d1a1-2392-4697-b759-7aa1e8082a48",
      "StudentId": "7bbf6e77-9692-4239-b337-a65840cc343b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-08T00:13:39.8740656+00:00",
      "DateCompleted": "2026-03-08T00:13:39.8740656+00:00",
      "Created": "2026-03-08T00:13:39.8740656+00:00",
      "LastUpdated": "2026-03-08T00:13:39.8740656+00:00"
    },
    {
      "Id": "9fa75b24-dafc-472a-a742-f15b33bc8094",
      "ClassType": 0,
      "TeacherId": "0ab4d1a1-2392-4697-b759-7aa1e8082a48",
      "StudentId": "7bbf6e77-9692-4239-b337-a65840cc343b",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-08T00:13:39.8740656+00:00",
      "DateCompleted": "2026-03-08T00:13:39.8740656+00:00",
      "Created": "2026-03-08T00:13:39.8740656+00:00",
      "LastUpdated": "2026-03-08T00:13:39.8740656+00:00"
    }
  ]
}