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.UserActivityStateViewModelName | 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": "9af02c07-6712-4613-a249-d926ff80ee7f", "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.