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": "e05df5f8-5f8a-43dd-a3df-4fcede24ef7f",
      "TeacherId": "fc198a7f-b920-42b1-b529-a20505e29697",
      "RegistrationId": "0fdbb39a-45e0-4dae-b7ab-0a44be1a8d52",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8298f9b9-ad21-40b4-87fa-2d11c12e2a33",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8298f9b9-ad21-40b4-87fa-2d11c12e2a33",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "e05df5f8-5f8a-43dd-a3df-4fcede24ef7f",
      "TeacherId": "fc198a7f-b920-42b1-b529-a20505e29697",
      "RegistrationId": "0fdbb39a-45e0-4dae-b7ab-0a44be1a8d52",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8298f9b9-ad21-40b4-87fa-2d11c12e2a33",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8298f9b9-ad21-40b4-87fa-2d11c12e2a33",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "c802dce8-2f5d-41f6-9e77-79480af8a035",
      "ClassType": 0,
      "TeacherId": "52a971b6-e23a-4aa7-91a6-5a03d20dd72e",
      "StudentId": "669ae992-5d01-4a2a-8f3c-7e36583a34d2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-07T13:52:36.2261082+00:00",
      "DateCompleted": "2026-01-07T13:52:36.2261082+00:00",
      "Created": "2026-01-07T13:52:36.2261082+00:00",
      "LastUpdated": "2026-01-07T13:52:36.2261082+00:00"
    },
    {
      "Id": "c802dce8-2f5d-41f6-9e77-79480af8a035",
      "ClassType": 0,
      "TeacherId": "52a971b6-e23a-4aa7-91a6-5a03d20dd72e",
      "StudentId": "669ae992-5d01-4a2a-8f3c-7e36583a34d2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-01-07T13:52:36.2261082+00:00",
      "DateCompleted": "2026-01-07T13:52:36.2261082+00:00",
      "Created": "2026-01-07T13:52:36.2261082+00:00",
      "LastUpdated": "2026-01-07T13:52:36.2261082+00:00"
    }
  ]
}