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": "1b59808c-27c9-4b09-a2ec-3a7304a8f348",
      "TeacherId": "fcd5b68c-c485-4497-b06a-8562ebd60056",
      "RegistrationId": "d7f9f303-2733-4a52-ad67-dc1946253c5e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b7c8efab-08ee-4663-bc3a-9b097e9b2205",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b7c8efab-08ee-4663-bc3a-9b097e9b2205",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "1b59808c-27c9-4b09-a2ec-3a7304a8f348",
      "TeacherId": "fcd5b68c-c485-4497-b06a-8562ebd60056",
      "RegistrationId": "d7f9f303-2733-4a52-ad67-dc1946253c5e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b7c8efab-08ee-4663-bc3a-9b097e9b2205",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b7c8efab-08ee-4663-bc3a-9b097e9b2205",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "0c1a7774-862e-4a64-a14d-6aa43d0091b9",
      "ClassType": 0,
      "TeacherId": "87dbc7bf-d6eb-4330-a8fc-6222ab29ae4f",
      "StudentId": "146e5383-6195-4ec1-ad2e-ddd25a7efc6c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-22T12:55:38.8620857+00:00",
      "DateCompleted": "2026-07-22T12:55:38.8620857+00:00",
      "Created": "2026-07-22T12:55:38.8620857+00:00",
      "LastUpdated": "2026-07-22T12:55:38.8620857+00:00"
    },
    {
      "Id": "0c1a7774-862e-4a64-a14d-6aa43d0091b9",
      "ClassType": 0,
      "TeacherId": "87dbc7bf-d6eb-4330-a8fc-6222ab29ae4f",
      "StudentId": "146e5383-6195-4ec1-ad2e-ddd25a7efc6c",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-07-22T12:55:38.8620857+00:00",
      "DateCompleted": "2026-07-22T12:55:38.8620857+00:00",
      "Created": "2026-07-22T12:55:38.8620857+00:00",
      "LastUpdated": "2026-07-22T12:55:38.8620857+00:00"
    }
  ]
}