PUT classes/{classId}/results

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authorized user is in one of roles: ServiceManager, LimitedServiceManager
  • Authenticated user is a staff member from the same center as class.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classId

globally unique identifier

Required

Body Parameters

PearsonEnglish.LearningServices.Wse.Models.ClassResults.UpdateClassResultsModel
NameDescriptionTypeAdditional information
Override

boolean

None.

Results

Collection of PearsonEnglish.LearningServices.Wse.Models.ClassResults.UpdateClassResultModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Override": true,
  "Results": [
    {
      "StudentId": "1cd0cac8-ee3e-4a82-aa00-7551e8a8a31f",
      "Result": 1,
      "Feedback": "sample string 2",
      "Results": [
        {
          "RatingSchemaPartItemId": "52e1e883-0dcd-4500-85bb-a2954626a7e0",
          "Result": 1
        },
        {
          "RatingSchemaPartItemId": "52e1e883-0dcd-4500-85bb-a2954626a7e0",
          "Result": 1
        }
      ]
    },
    {
      "StudentId": "1cd0cac8-ee3e-4a82-aa00-7551e8a8a31f",
      "Result": 1,
      "Feedback": "sample string 2",
      "Results": [
        {
          "RatingSchemaPartItemId": "52e1e883-0dcd-4500-85bb-a2954626a7e0",
          "Result": 1
        },
        {
          "RatingSchemaPartItemId": "52e1e883-0dcd-4500-85bb-a2954626a7e0",
          "Result": 1
        }
      ]
    }
  ]
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.