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": "5418ae09-fa49-43be-9170-0a8f73a465a6",
      "TeacherId": "31b435fa-955b-432e-8efc-9479ffd2cfef",
      "RegistrationId": "8882734d-25e3-4d2b-b858-409583234838",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "32143edb-a8e5-4181-af8c-4d054a42f587",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "32143edb-a8e5-4181-af8c-4d054a42f587",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "5418ae09-fa49-43be-9170-0a8f73a465a6",
      "TeacherId": "31b435fa-955b-432e-8efc-9479ffd2cfef",
      "RegistrationId": "8882734d-25e3-4d2b-b858-409583234838",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "32143edb-a8e5-4181-af8c-4d054a42f587",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "32143edb-a8e5-4181-af8c-4d054a42f587",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0b4ceff2-baa9-446d-9c05-8951d242dadb",
      "ClassType": 0,
      "TeacherId": "9851b696-ed9f-443a-a1d5-bc3113228524",
      "StudentId": "0e8db02c-543b-4960-895b-e6f9538928e5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-22T10:41:37.5161005+00:00",
      "DateCompleted": "2026-08-22T10:41:37.5161005+00:00",
      "Created": "2026-08-22T10:41:37.5161005+00:00",
      "LastUpdated": "2026-08-22T10:41:37.5161005+00:00"
    },
    {
      "Id": "0b4ceff2-baa9-446d-9c05-8951d242dadb",
      "ClassType": 0,
      "TeacherId": "9851b696-ed9f-443a-a1d5-bc3113228524",
      "StudentId": "0e8db02c-543b-4960-895b-e6f9538928e5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-08-22T10:41:37.5161005+00:00",
      "DateCompleted": "2026-08-22T10:41:37.5161005+00:00",
      "Created": "2026-08-22T10:41:37.5161005+00:00",
      "LastUpdated": "2026-08-22T10:41:37.5161005+00:00"
    }
  ]
}