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
| Name | Description | Type | Additional information |
|---|---|---|---|
| classId | globally unique identifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.ClassResults.UpdateClassResultsModel| Name | Description | Type | Additional 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": "370100a7-765c-4a64-ac98-29e5d06053f7",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "821e05a4-d56a-4233-a4e7-30c5eac5a126",
"Result": 1
},
{
"RatingSchemaPartItemId": "821e05a4-d56a-4233-a4e7-30c5eac5a126",
"Result": 1
}
]
},
{
"StudentId": "370100a7-765c-4a64-ac98-29e5d06053f7",
"Result": 1,
"Feedback": "sample string 2",
"Results": [
{
"RatingSchemaPartItemId": "821e05a4-d56a-4233-a4e7-30c5eac5a126",
"Result": 1
},
{
"RatingSchemaPartItemId": "821e05a4-d56a-4233-a4e7-30c5eac5a126",
"Result": 1
}
]
}
]
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.