PUT users/{userIdentifier}/activity/set
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated user who is either StaffMember, Student, QA, Administrator, FocusTool, ProspectWithTrial, User
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Core.Models.Views.Focus.UserActivityStateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentItemId | globally unique identifier |
Required |
|
| Status | integer |
Required Range: inclusive between 1 and 2 |
|
| Score | decimal number |
None. |
|
| TotalQuestions | integer |
None. |
|
| TotalQuestionAnswered | integer |
None. |
|
| TotalCorrectAnswer | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContentItemId": "25a6b7bd-b186-43ef-a8cb-58ee83c2f61a",
"Status": 1,
"Score": 1.0,
"TotalQuestions": 1,
"TotalQuestionAnswered": 1,
"TotalCorrectAnswer": 1
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.