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": "d31e670d-30e0-4cd3-803a-2f39f2bb9c59",
      "TeacherId": "9b8b893d-847a-48eb-ad0f-da15b56010cd",
      "RegistrationId": "1e4d0bfe-2067-4674-a0df-7de567f32d11",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6962c804-e4df-4232-856b-1d27eb4ff574",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6962c804-e4df-4232-856b-1d27eb4ff574",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "d31e670d-30e0-4cd3-803a-2f39f2bb9c59",
      "TeacherId": "9b8b893d-847a-48eb-ad0f-da15b56010cd",
      "RegistrationId": "1e4d0bfe-2067-4674-a0df-7de567f32d11",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "6962c804-e4df-4232-856b-1d27eb4ff574",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "6962c804-e4df-4232-856b-1d27eb4ff574",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "cbf3f058-08fd-4113-9a0c-794de52313ba",
      "ClassType": 0,
      "TeacherId": "82f06372-1419-42ae-a4e7-6435a482d402",
      "StudentId": "b1910430-d3be-4cf5-83c9-538c05b369b2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-05T10:41:55.9178197+00:00",
      "DateCompleted": "2025-12-05T10:41:55.9178197+00:00",
      "Created": "2025-12-05T10:41:55.9178197+00:00",
      "LastUpdated": "2025-12-05T10:41:55.9178197+00:00"
    },
    {
      "Id": "cbf3f058-08fd-4113-9a0c-794de52313ba",
      "ClassType": 0,
      "TeacherId": "82f06372-1419-42ae-a4e7-6435a482d402",
      "StudentId": "b1910430-d3be-4cf5-83c9-538c05b369b2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-12-05T10:41:55.9178197+00:00",
      "DateCompleted": "2025-12-05T10:41:55.9178197+00:00",
      "Created": "2025-12-05T10:41:55.9178197+00:00",
      "LastUpdated": "2025-12-05T10:41:55.9178197+00:00"
    }
  ]
}