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": "8dbc9369-ff82-4e70-95f9-0f7454530779",
      "TeacherId": "5ec3a74f-e12b-4c7c-a1b4-0bdf3ed490d7",
      "RegistrationId": "df2a22e5-d3fa-4ea9-a86b-dd6f8b0c2630",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "fe3a387a-4199-486c-be20-cdef67a125d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "fe3a387a-4199-486c-be20-cdef67a125d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "8dbc9369-ff82-4e70-95f9-0f7454530779",
      "TeacherId": "5ec3a74f-e12b-4c7c-a1b4-0bdf3ed490d7",
      "RegistrationId": "df2a22e5-d3fa-4ea9-a86b-dd6f8b0c2630",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "fe3a387a-4199-486c-be20-cdef67a125d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "fe3a387a-4199-486c-be20-cdef67a125d1",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "16ba03a1-90d0-4d3c-a2fd-a2377e44d0cb",
      "ClassType": 0,
      "TeacherId": "07e9ecd7-4563-46b8-81de-7506595c626e",
      "StudentId": "8a6fb34b-98cc-454d-a400-520b2061001f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-10T14:11:41.029965+00:00",
      "DateCompleted": "2026-11-10T14:11:41.029965+00:00",
      "Created": "2026-11-10T14:11:41.029965+00:00",
      "LastUpdated": "2026-11-10T14:11:41.029965+00:00"
    },
    {
      "Id": "16ba03a1-90d0-4d3c-a2fd-a2377e44d0cb",
      "ClassType": 0,
      "TeacherId": "07e9ecd7-4563-46b8-81de-7506595c626e",
      "StudentId": "8a6fb34b-98cc-454d-a400-520b2061001f",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-11-10T14:11:41.029965+00:00",
      "DateCompleted": "2026-11-10T14:11:41.029965+00:00",
      "Created": "2026-11-10T14:11:41.029965+00:00",
      "LastUpdated": "2026-11-10T14:11:41.029965+00:00"
    }
  ]
}