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": "75f47410-1527-4384-9ef7-295ea8fbdd89",
      "TeacherId": "af9b4db2-356c-4415-baea-a539ce833beb",
      "RegistrationId": "69a4bcb3-4f00-41f8-b4e9-14eff6e16e59",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1e6094cb-4776-4c69-b6fe-175c7834d61e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1e6094cb-4776-4c69-b6fe-175c7834d61e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "75f47410-1527-4384-9ef7-295ea8fbdd89",
      "TeacherId": "af9b4db2-356c-4415-baea-a539ce833beb",
      "RegistrationId": "69a4bcb3-4f00-41f8-b4e9-14eff6e16e59",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "1e6094cb-4776-4c69-b6fe-175c7834d61e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "1e6094cb-4776-4c69-b6fe-175c7834d61e",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "596d1d93-e937-4e96-9a42-d95db8589218",
      "ClassType": 0,
      "TeacherId": "ec041988-8f4c-447d-975d-39e343ef0db0",
      "StudentId": "c91aca83-1a7d-428e-944e-c3e9a3cc045a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-24T11:52:15.0805723+00:00",
      "DateCompleted": "2026-02-24T11:52:15.0805723+00:00",
      "Created": "2026-02-24T11:52:15.0805723+00:00",
      "LastUpdated": "2026-02-24T11:52:15.0805723+00:00"
    },
    {
      "Id": "596d1d93-e937-4e96-9a42-d95db8589218",
      "ClassType": 0,
      "TeacherId": "ec041988-8f4c-447d-975d-39e343ef0db0",
      "StudentId": "c91aca83-1a7d-428e-944e-c3e9a3cc045a",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2026-02-24T11:52:15.0805723+00:00",
      "DateCompleted": "2026-02-24T11:52:15.0805723+00:00",
      "Created": "2026-02-24T11:52:15.0805723+00:00",
      "LastUpdated": "2026-02-24T11:52:15.0805723+00:00"
    }
  ]
}