GET users/{userIdentifier}/state
Gets the User's state information.
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 matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the online center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
- Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
- Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier |
user's identifier |
PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PearsonEnglish.LearningServices.Core.Models.Views.UserStateBackwardCompatibleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| IsNewUser | boolean |
None. |
|
| UserName | string |
None. |
|
| PrivacyPolicyApprove | boolean |
None. |
|
| ServerTime | date |
None. |
|
| Registration | PearsonEnglish.LearningServices.Core.Models.Views.RegistrationViewModel |
None. |
|
| TimeZone | PearsonEnglish.LearningServices.Core.Models.Views.TimeZoneViewModel |
None. |
|
| Bookmarks | Dictionary of string [key] and PearsonEnglish.LearningServices.Core.Models.Views.ContentItemViewModel [value] |
None. |
|
| CurrentCourse | PearsonEnglish.LearningServices.Core.Models.CurrentCourse |
None. |
|
| Lessons | Collection of PearsonEnglish.LearningServices.Core.Models.Views.ContentItemResultViewModel |
None. |
|
| Surveys | Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSurveyViewModel |
None. |
|
| Sessions | Collection of PearsonEnglish.LearningServices.Core.Models.Views.UserSessionStateViewModel |
None. |
|
| TotalRescheduleCount | integer |
None. |
|
| StudentLevelInfo | PearsonEnglish.LearningServices.Core.Models.StudentLevelInfo |
None. |
Response Formats
application/json
Sample:
{
"UserId": "40ba4f74-87a3-47d8-a4b4-5a29d4d250e0",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-10T03:34:14.8804828+00:00",
"Registration": {
"Id": "b7db3900-6706-438f-ae28-789f8ad1fcf0",
"UserId": "eb9b8a13-91cc-4406-8f31-dfd019491a7f",
"IsCurrent": true,
"CenterId": "1ade560e-8fe9-4954-9c1a-518d144b1582",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "18242df5-c8f0-42f8-95ed-754319c6a4c5",
"EndDate": "2025-12-10T03:34:14.8804828+00:00",
"StartDate": "2025-12-10T03:34:14.8804828+00:00",
"SchedulePreferenceDate": "2025-12-10T03:34:14.8804828+00:00",
"TypeName": "sample string 10",
"WorkbookType": 0,
"EnglishAnytime": true,
"AllowSelfBooking": true,
"RegistrationStatus": "sample string 12",
"CourseStatus": "sample string 13",
"StudentCurrentContractStatus": "sample string 14",
"OnlineClassAccess": true,
"InCenterClassAccess": true,
"IsMembership": true,
"IsPromo": true,
"OnboardingAccess": true,
"IsCrossCenterBooking": true,
"IsTeen": true,
"IsGroupContract": true,
"IsB2B": true,
"ServiceType": 1,
"LabTeacherReferenceId": "sample string 24",
"ConsultantReferenceId": "sample string 25"
},
"TimeZone": {
"Name": "sample string 1",
"IanaName": "sample string 2",
"LocalUtcOffset": "00:00:00.1234567",
"LocalDateTime": "2025-12-10T03:34:14.8804828+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "3df461be-b0a5-4d26-b86c-d3f20ff0f3aa",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d733b44d-c2e9-4466-ba3a-7e759d62be58",
"Sequence": 1,
"AncestorCategoryId": "1148fa3e-c598-4490-a047-890ee48b5505",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
},
"sample string 2": {
"Id": "3df461be-b0a5-4d26-b86c-d3f20ff0f3aa",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d733b44d-c2e9-4466-ba3a-7e759d62be58",
"Sequence": 1,
"AncestorCategoryId": "1148fa3e-c598-4490-a047-890ee48b5505",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
}
},
"CurrentCourse": {
"Id": "6443a078-cd89-4f6e-a3e9-e96a45c27999",
"CategoryId": "1869dd26-405a-4886-85d0-1f03cc429025",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "a324bc20-aad4-4854-96c6-3eac873b8dd6",
"Score": 1.0,
"State": 1
},
{
"Id": "a324bc20-aad4-4854-96c6-3eac873b8dd6",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "4bfaedf1-2a03-4b03-9e2c-59a28c3bcdf2",
"Questions": [
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
},
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
}
]
},
{
"Id": "4bfaedf1-2a03-4b03-9e2c-59a28c3bcdf2",
"Questions": [
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
},
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4fa66b59-ea76-41f5-a758-9b1d7ad01fb2",
"ContentItemId": "4cfdc5ab-c1ce-4f85-910e-9e2138f8dc50",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2025-12-10T03:34:14.8804828+00:00",
"RescheduleDate": "2025-12-10T03:34:14.8804828+00:00"
},
{
"Id": "4fa66b59-ea76-41f5-a758-9b1d7ad01fb2",
"ContentItemId": "4cfdc5ab-c1ce-4f85-910e-9e2138f8dc50",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2025-12-10T03:34:14.8804828+00:00",
"RescheduleDate": "2025-12-10T03:34:14.8804828+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "40ba4f74-87a3-47d8-a4b4-5a29d4d250e0",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2025-12-10T03:34:14.9273673+00:00",
"Registration": {
"Id": "b7db3900-6706-438f-ae28-789f8ad1fcf0",
"UserId": "eb9b8a13-91cc-4406-8f31-dfd019491a7f",
"IsCurrent": true,
"CenterId": "1ade560e-8fe9-4954-9c1a-518d144b1582",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "18242df5-c8f0-42f8-95ed-754319c6a4c5",
"EndDate": "2025-12-10T03:34:14.8804828+00:00",
"StartDate": "2025-12-10T03:34:14.8804828+00:00",
"SchedulePreferenceDate": "2025-12-10T03:34:14.8804828+00:00",
"TypeName": "sample string 10",
"WorkbookType": 0,
"EnglishAnytime": true,
"AllowSelfBooking": true,
"RegistrationStatus": "sample string 12",
"CourseStatus": "sample string 13",
"StudentCurrentContractStatus": "sample string 14",
"OnlineClassAccess": true,
"InCenterClassAccess": true,
"IsMembership": true,
"IsPromo": true,
"OnboardingAccess": true,
"IsCrossCenterBooking": true,
"IsTeen": true,
"IsGroupContract": true,
"IsB2B": true,
"ServiceType": 1,
"LabTeacherReferenceId": "sample string 24",
"ConsultantReferenceId": "sample string 25"
},
"TimeZone": {
"Name": "sample string 1",
"IanaName": "sample string 2",
"LocalUtcOffset": "00:00:00.1234567",
"LocalDateTime": "2025-12-10T03:34:14.8804828+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "3df461be-b0a5-4d26-b86c-d3f20ff0f3aa",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d733b44d-c2e9-4466-ba3a-7e759d62be58",
"Sequence": 1,
"AncestorCategoryId": "1148fa3e-c598-4490-a047-890ee48b5505",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
},
"sample string 2": {
"Id": "3df461be-b0a5-4d26-b86c-d3f20ff0f3aa",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "d733b44d-c2e9-4466-ba3a-7e759d62be58",
"Sequence": 1,
"AncestorCategoryId": "1148fa3e-c598-4490-a047-890ee48b5505",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
},
{
"Id": "1d886c17-1aba-47a6-9806-823a0011c10e",
"Type": "sample string 2",
"Sequence": 1,
"Path": "sample string 3",
"Attributes": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ChildCategories": []
}
],
"ContentOptimizationLevelId": 7,
"ContentOptimizationLevelName": "sample string 8"
}
},
"CurrentCourse": {
"Id": "6443a078-cd89-4f6e-a3e9-e96a45c27999",
"CategoryId": "1869dd26-405a-4886-85d0-1f03cc429025",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "a324bc20-aad4-4854-96c6-3eac873b8dd6",
"Score": 1.0,
"State": 1
},
{
"Id": "a324bc20-aad4-4854-96c6-3eac873b8dd6",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "4bfaedf1-2a03-4b03-9e2c-59a28c3bcdf2",
"Questions": [
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
},
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
}
]
},
{
"Id": "4bfaedf1-2a03-4b03-9e2c-59a28c3bcdf2",
"Questions": [
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
},
{
"Id": "2902c6eb-865f-4a12-b573-ff355fcc2603",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "4fa66b59-ea76-41f5-a758-9b1d7ad01fb2",
"ContentItemId": "4cfdc5ab-c1ce-4f85-910e-9e2138f8dc50",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2025-12-10T03:34:14.8804828+00:00",
"RescheduleDate": "2025-12-10T03:34:14.8804828+00:00"
},
{
"Id": "4fa66b59-ea76-41f5-a758-9b1d7ad01fb2",
"ContentItemId": "4cfdc5ab-c1ce-4f85-910e-9e2138f8dc50",
"Status": "sample string 3",
"TeacherFeedbacks": [
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
},
{
"Type": "sample string 1",
"Value1": "sample string 2",
"Value2": "sample string 3"
}
],
"RatingDate": "2025-12-10T03:34:14.8804828+00:00",
"RescheduleDate": "2025-12-10T03:34:14.8804828+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}