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": "eb28538b-0532-4a21-a0f9-238cb277be52",
      "TeacherId": "5d673678-e94a-4f7c-b133-2237b44960cf",
      "RegistrationId": "851ad429-5be2-4020-9b8f-7e81b4402a22",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "17d8b1c3-8bb2-426b-96be-0cf9a9a985aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "17d8b1c3-8bb2-426b-96be-0cf9a9a985aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "eb28538b-0532-4a21-a0f9-238cb277be52",
      "TeacherId": "5d673678-e94a-4f7c-b133-2237b44960cf",
      "RegistrationId": "851ad429-5be2-4020-9b8f-7e81b4402a22",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "17d8b1c3-8bb2-426b-96be-0cf9a9a985aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "17d8b1c3-8bb2-426b-96be-0cf9a9a985aa",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "75dbb08c-6d35-4c20-a55e-5e154d0bfc8a",
      "ClassType": 0,
      "TeacherId": "39e55f03-b76f-4c8f-9f11-dbe1b9194991",
      "StudentId": "f9ba93a4-4ac1-4e1f-ba6d-02ab9ff42ebf",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-04T20:16:27.0964878+00:00",
      "DateCompleted": "2026-02-04T20:16:27.0964878+00:00",
      "Created": "2026-02-04T20:16:27.0964878+00:00",
      "LastUpdated": "2026-02-04T20:16:27.0964878+00:00"
    },
    {
      "Id": "75dbb08c-6d35-4c20-a55e-5e154d0bfc8a",
      "ClassType": 0,
      "TeacherId": "39e55f03-b76f-4c8f-9f11-dbe1b9194991",
      "StudentId": "f9ba93a4-4ac1-4e1f-ba6d-02ab9ff42ebf",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-04T20:16:27.0964878+00:00",
      "DateCompleted": "2026-02-04T20:16:27.0964878+00:00",
      "Created": "2026-02-04T20:16:27.0964878+00:00",
      "LastUpdated": "2026-02-04T20:16:27.0964878+00:00"
    }
  ]
}