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": "ed6cfc04-6346-454c-adc1-146674879017",
      "TeacherId": "83a1f408-66ef-4ebd-9a87-149e28192e74",
      "RegistrationId": "59de9dcf-ed53-460f-b6c5-9025b24ca21f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "35040586-fe8d-4f78-b351-8a9c357bdd4c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "35040586-fe8d-4f78-b351-8a9c357bdd4c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "ed6cfc04-6346-454c-adc1-146674879017",
      "TeacherId": "83a1f408-66ef-4ebd-9a87-149e28192e74",
      "RegistrationId": "59de9dcf-ed53-460f-b6c5-9025b24ca21f",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "35040586-fe8d-4f78-b351-8a9c357bdd4c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "35040586-fe8d-4f78-b351-8a9c357bdd4c",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "ec45db49-745a-4abf-9597-ec9c72afe9c0",
      "ClassType": 0,
      "TeacherId": "634e4d20-1ea9-4ab8-9d6b-c09e8f302296",
      "StudentId": "08d2609a-895e-4801-9e2f-0b0ac4929351",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-13T09:52:53.7499712+00:00",
      "DateCompleted": "2026-02-13T09:52:53.7499712+00:00",
      "Created": "2026-02-13T09:52:53.7499712+00:00",
      "LastUpdated": "2026-02-13T09:52:53.7499712+00:00"
    },
    {
      "Id": "ec45db49-745a-4abf-9597-ec9c72afe9c0",
      "ClassType": 0,
      "TeacherId": "634e4d20-1ea9-4ab8-9d6b-c09e8f302296",
      "StudentId": "08d2609a-895e-4801-9e2f-0b0ac4929351",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-13T09:52:53.7499712+00:00",
      "DateCompleted": "2026-02-13T09:52:53.7499712+00:00",
      "Created": "2026-02-13T09:52:53.7499712+00:00",
      "LastUpdated": "2026-02-13T09:52:53.7499712+00:00"
    }
  ]
}