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": "4ffd5309-675f-4c96-a01e-0c311750199b",
      "TeacherId": "9b260534-43ea-4c8c-beba-8a93a052cb5e",
      "RegistrationId": "ff1f1be7-ebf7-4560-92dd-f975bb97eff8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dc88cf9f-6f58-47da-a4df-a6aa65ebaf35",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dc88cf9f-6f58-47da-a4df-a6aa65ebaf35",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    },
    {
      "StudentId": "4ffd5309-675f-4c96-a01e-0c311750199b",
      "TeacherId": "9b260534-43ea-4c8c-beba-8a93a052cb5e",
      "RegistrationId": "ff1f1be7-ebf7-4560-92dd-f975bb97eff8",
      "ItemResultsViewModel": [
        {
          "RatingSchemaPartItemId": "dc88cf9f-6f58-47da-a4df-a6aa65ebaf35",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        },
        {
          "RatingSchemaPartItemId": "dc88cf9f-6f58-47da-a4df-a6aa65ebaf35",
          "Name": "sample string 2",
          "Result": 3,
          "Number": 1
        }
      ]
    }
  ],
  "Results": [
    {
      "Id": "2b2bd810-78df-469b-a90a-06acdde46a51",
      "ClassType": 0,
      "TeacherId": "6b4dfd7d-238f-4d53-a48a-3305340d1ad9",
      "StudentId": "4ba9b1fe-c309-4f1f-8f0b-d72a3e63ec75",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-25T13:41:06.1978836+00:00",
      "DateCompleted": "2025-11-25T13:41:06.1978836+00:00",
      "Created": "2025-11-25T13:41:06.1978836+00:00",
      "LastUpdated": "2025-11-25T13:41:06.1978836+00:00"
    },
    {
      "Id": "2b2bd810-78df-469b-a90a-06acdde46a51",
      "ClassType": 0,
      "TeacherId": "6b4dfd7d-238f-4d53-a48a-3305340d1ad9",
      "StudentId": "4ba9b1fe-c309-4f1f-8f0b-d72a3e63ec75",
      "Result": "sample string 3",
      "ContentItemResultTypeId": 1,
      "Score": 1.1,
      "DateStarted": "2025-11-25T13:41:06.1978836+00:00",
      "DateCompleted": "2025-11-25T13:41:06.1978836+00:00",
      "Created": "2025-11-25T13:41:06.1978836+00:00",
      "LastUpdated": "2025-11-25T13:41:06.1978836+00:00"
    }
  ]
}