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": "de83296e-2d27-4125-8063-b4d1a38fa507",
      "TeacherId": "fcaa3884-87ce-40c9-9a51-a19cc3b48eb1",
      "RegistrationId": "84cf4acb-21f9-4b6c-8186-52783952bc84",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c30bb177-c939-49c2-89f0-13f6a6c07de8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c30bb177-c939-49c2-89f0-13f6a6c07de8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "de83296e-2d27-4125-8063-b4d1a38fa507",
      "TeacherId": "fcaa3884-87ce-40c9-9a51-a19cc3b48eb1",
      "RegistrationId": "84cf4acb-21f9-4b6c-8186-52783952bc84",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "c30bb177-c939-49c2-89f0-13f6a6c07de8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "c30bb177-c939-49c2-89f0-13f6a6c07de8",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "f238beb4-e09a-409c-9534-e8e56c66d1d3",
      "ClassType": 0,
      "TeacherId": "0618fa9e-75ec-4727-90d6-bee058d3bfe7",
      "StudentId": "354b2325-2376-4abf-a26b-b414120c33c5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-17T12:07:39.1979164+00:00",
      "DateCompleted": "2026-03-17T12:07:39.1979164+00:00",
      "Created": "2026-03-17T12:07:39.1979164+00:00",
      "LastUpdated": "2026-03-17T12:07:39.1979164+00:00"
    },
    {
      "Id": "f238beb4-e09a-409c-9534-e8e56c66d1d3",
      "ClassType": 0,
      "TeacherId": "0618fa9e-75ec-4727-90d6-bee058d3bfe7",
      "StudentId": "354b2325-2376-4abf-a26b-b414120c33c5",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-17T12:07:39.1979164+00:00",
      "DateCompleted": "2026-03-17T12:07:39.1979164+00:00",
      "Created": "2026-03-17T12:07:39.1979164+00:00",
      "LastUpdated": "2026-03-17T12:07:39.1979164+00:00"
    }
  ]
}