PUT classes/{classId}/classPartialResults
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 a student who is assigned to class result specified in body of request. Authenticated user is a staff member and is assigned to the online center as a user who matches a student who is assigned to class result specified in body of request. Authenticated user matches a student who is assigned to class result specified in body of request.
- Authenticated user matches a teacher who is assigned to material specified by "result" uri parameter or by content of request.
- Authenticated user who is either StaffMember
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| classId | string |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.ClassResults.RatingSchemaPartItemResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | globally unique identifier |
None. |
|
| ReferenceClassId | string |
None. |
|
| ClassId | globally unique identifier |
None. |
|
| TeacherId | globally unique identifier |
None. |
|
| RatingSchemaPartItemId | globally unique identifier |
None. |
|
| Result | integer |
None. |
|
| Number | integer |
None. |
|
| ClassUnitId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentId": "21c02b12-7675-41e4-85e9-d1d0430d5f1d",
"ReferenceClassId": "sample string 2",
"ClassId": "e2df296e-0ede-424b-ae79-71f25aafc043",
"TeacherId": "bb7b3ee2-1f05-4aef-bf9a-43e1ef58bc2d",
"RatingSchemaPartItemId": "97503dfa-f75a-4fb8-a97a-af50e72d6371",
"Result": 1,
"Number": 1,
"ClassUnitId": "ab5869a1-1384-4666-ba10-a42b33181642"
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.