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": "b07cfb0b-c0d2-4d53-bb40-acb262402733",
      "TeacherId": "616af1a3-1b04-4c9d-b309-3533e72e1e06",
      "RegistrationId": "eb708884-f5d8-4ca5-97d0-1c8443af8ec5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8498734a-3cd8-49ef-ad8e-7508ff45d9eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8498734a-3cd8-49ef-ad8e-7508ff45d9eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "b07cfb0b-c0d2-4d53-bb40-acb262402733",
      "TeacherId": "616af1a3-1b04-4c9d-b309-3533e72e1e06",
      "RegistrationId": "eb708884-f5d8-4ca5-97d0-1c8443af8ec5",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "8498734a-3cd8-49ef-ad8e-7508ff45d9eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "8498734a-3cd8-49ef-ad8e-7508ff45d9eb",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "02262693-7a41-4dec-9e4e-2a3dde6e4518",
      "ClassType": 0,
      "TeacherId": "6356f4c3-0e75-4652-99b1-e486b9aa67e2",
      "StudentId": "df1c1f15-c493-4bad-aff6-7f1b0321c02d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-24T10:42:42.074142+00:00",
      "DateCompleted": "2026-03-24T10:42:42.074142+00:00",
      "Created": "2026-03-24T10:42:42.074142+00:00",
      "LastUpdated": "2026-03-24T10:42:42.074142+00:00"
    },
    {
      "Id": "02262693-7a41-4dec-9e4e-2a3dde6e4518",
      "ClassType": 0,
      "TeacherId": "6356f4c3-0e75-4652-99b1-e486b9aa67e2",
      "StudentId": "df1c1f15-c493-4bad-aff6-7f1b0321c02d",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-03-24T10:42:42.074142+00:00",
      "DateCompleted": "2026-03-24T10:42:42.074142+00:00",
      "Created": "2026-03-24T10:42:42.074142+00:00",
      "LastUpdated": "2026-03-24T10:42:42.074142+00:00"
    }
  ]
}