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": "2ff1f1b7-62f4-4c08-bb42-44a45435ba45",
      "TeacherId": "11a35bd1-ff7a-4aaa-9e9e-ad7527db52b2",
      "RegistrationId": "22af165a-3a73-4fc7-acbf-4e3c6e59f80e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1fbcb761-bd65-4ea2-adf8-82350c9336e0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1fbcb761-bd65-4ea2-adf8-82350c9336e0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "2ff1f1b7-62f4-4c08-bb42-44a45435ba45",
      "TeacherId": "11a35bd1-ff7a-4aaa-9e9e-ad7527db52b2",
      "RegistrationId": "22af165a-3a73-4fc7-acbf-4e3c6e59f80e",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1fbcb761-bd65-4ea2-adf8-82350c9336e0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1fbcb761-bd65-4ea2-adf8-82350c9336e0",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "90361bd5-2c1c-45f0-b2ff-5e22e013044a",
      "ClassType": 0,
      "TeacherId": "9c11ab22-dead-4a75-bde6-9206ea53fe4b",
      "StudentId": "909fdd4a-e468-4888-bd27-457645189316",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-01T14:41:15.0842388+00:00",
      "DateCompleted": "2026-03-01T14:41:15.0842388+00:00",
      "Created": "2026-03-01T14:41:15.0842388+00:00",
      "LastUpdated": "2026-03-01T14:41:15.0842388+00:00"
    },
    {
      "Id": "90361bd5-2c1c-45f0-b2ff-5e22e013044a",
      "ClassType": 0,
      "TeacherId": "9c11ab22-dead-4a75-bde6-9206ea53fe4b",
      "StudentId": "909fdd4a-e468-4888-bd27-457645189316",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-01T14:41:15.0842388+00:00",
      "DateCompleted": "2026-03-01T14:41:15.0842388+00:00",
      "Created": "2026-03-01T14:41:15.0842388+00:00",
      "LastUpdated": "2026-03-01T14:41:15.0842388+00:00"
    }
  ]
}