PUT classes/encounters/results
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
None.
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.ClassResults.EncounterResults.EncounterResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Score | decimal number |
None. |
|
| ClassId | globally unique identifier |
None. |
|
| StudentId | globally unique identifier |
None. |
|
| Comment | string |
None. |
|
| ContentItemResultType | PearsonEnglish.LearningServices.Core.Models.Enums.ContentItemResultTypes |
None. |
Request Formats
application/json, text/json
Sample:
{
"Score": 1.0,
"ClassId": "0c71d3ad-b097-4c2f-a126-db53f7d3ae6d",
"StudentId": "7a79e71f-f0aa-4d42-b860-fedca8bd0ebb",
"Comment": "sample string 3",
"ContentItemResultType": 1
}
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"3df97acc-8089-46c3-8555-0abe9f5b1276"