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": "16b66d34-a27b-442e-acc6-6fa66d51faec",
      "TeacherId": "05deece2-53e7-4589-8ad3-faae340199fd",
      "RegistrationId": "0ff9895f-0b9c-4c3c-9574-669fea11a67b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b771b23c-4dad-495d-bb05-8dc2e8979451",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b771b23c-4dad-495d-bb05-8dc2e8979451",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "16b66d34-a27b-442e-acc6-6fa66d51faec",
      "TeacherId": "05deece2-53e7-4589-8ad3-faae340199fd",
      "RegistrationId": "0ff9895f-0b9c-4c3c-9574-669fea11a67b",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "b771b23c-4dad-495d-bb05-8dc2e8979451",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "b771b23c-4dad-495d-bb05-8dc2e8979451",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "b1e2f7f9-6bb0-46ae-b8dd-bbe53383a8a4",
      "ClassType": 0,
      "TeacherId": "325558f3-4212-476f-8193-afd0e3a7e3e1",
      "StudentId": "5736683c-b989-4b64-9635-9e4b20b0c7c2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-26T00:16:35.5549472+00:00",
      "DateCompleted": "2026-03-26T00:16:35.5549472+00:00",
      "Created": "2026-03-26T00:16:35.5549472+00:00",
      "LastUpdated": "2026-03-26T00:16:35.5549472+00:00"
    },
    {
      "Id": "b1e2f7f9-6bb0-46ae-b8dd-bbe53383a8a4",
      "ClassType": 0,
      "TeacherId": "325558f3-4212-476f-8193-afd0e3a7e3e1",
      "StudentId": "5736683c-b989-4b64-9635-9e4b20b0c7c2",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-26T00:16:35.5549472+00:00",
      "DateCompleted": "2026-03-26T00:16:35.5549472+00:00",
      "Created": "2026-03-26T00:16:35.5549472+00:00",
      "LastUpdated": "2026-03-26T00:16:35.5549472+00:00"
    }
  ]
}