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": "6cce83d1-a9b6-4b72-a5c9-2c3eeb366d45",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-01T12:43:43.0065796+00:00",
"Registration": {
"Id": "6cfe319b-08d6-4dae-8e60-7a9e7e9309da",
"UserId": "3c721806-4887-486c-a4c4-ac90d3d4881d",
"IsCurrent": true,
"CenterId": "21e593ab-949f-4286-b042-9669d257227b",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2e88c4d4-4d71-4b19-a86a-9036081e4923",
"EndDate": "2026-10-01T12:43:42.9909513+00:00",
"StartDate": "2026-10-01T12:43:42.9909513+00:00",
"SchedulePreferenceDate": "2026-10-01T12:43:42.9909513+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": "2026-10-01T12:43:42.9909513+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "773f69dc-188e-4512-bacc-ab4278fa5b83",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3212768e-f47f-4deb-8a8c-41c26abaca4b",
"Sequence": 1,
"AncestorCategoryId": "5920f590-db61-4445-838b-7e8de0eb17fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "773f69dc-188e-4512-bacc-ab4278fa5b83",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3212768e-f47f-4deb-8a8c-41c26abaca4b",
"Sequence": 1,
"AncestorCategoryId": "5920f590-db61-4445-838b-7e8de0eb17fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "64884a72-ab90-46ec-8aa7-6323208fa6d8",
"CategoryId": "3a8bbf4b-5ded-4df5-ada2-d42e16f6aaa7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "28d6e210-6304-46f5-b4ac-63fcb7e96ca1",
"Score": 1.0,
"State": 1
},
{
"Id": "28d6e210-6304-46f5-b4ac-63fcb7e96ca1",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "035abd9e-a6d7-44e6-a275-998955ad4523",
"Questions": [
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
},
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
}
]
},
{
"Id": "035abd9e-a6d7-44e6-a275-998955ad4523",
"Questions": [
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
},
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "0a14e22f-0c18-4737-a49b-775d8c33a884",
"ContentItemId": "b007a089-95f0-4a9f-b292-d43a88a47556",
"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": "2026-10-01T12:43:42.9909513+00:00",
"RescheduleDate": "2026-10-01T12:43:42.9909513+00:00"
},
{
"Id": "0a14e22f-0c18-4737-a49b-775d8c33a884",
"ContentItemId": "b007a089-95f0-4a9f-b292-d43a88a47556",
"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": "2026-10-01T12:43:42.9909513+00:00",
"RescheduleDate": "2026-10-01T12:43:42.9909513+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "6cce83d1-a9b6-4b72-a5c9-2c3eeb366d45",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-10-01T12:43:43.0222044+00:00",
"Registration": {
"Id": "6cfe319b-08d6-4dae-8e60-7a9e7e9309da",
"UserId": "3c721806-4887-486c-a4c4-ac90d3d4881d",
"IsCurrent": true,
"CenterId": "21e593ab-949f-4286-b042-9669d257227b",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2e88c4d4-4d71-4b19-a86a-9036081e4923",
"EndDate": "2026-10-01T12:43:42.9909513+00:00",
"StartDate": "2026-10-01T12:43:42.9909513+00:00",
"SchedulePreferenceDate": "2026-10-01T12:43:42.9909513+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": "2026-10-01T12:43:42.9909513+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "773f69dc-188e-4512-bacc-ab4278fa5b83",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3212768e-f47f-4deb-8a8c-41c26abaca4b",
"Sequence": 1,
"AncestorCategoryId": "5920f590-db61-4445-838b-7e8de0eb17fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "773f69dc-188e-4512-bacc-ab4278fa5b83",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "3212768e-f47f-4deb-8a8c-41c26abaca4b",
"Sequence": 1,
"AncestorCategoryId": "5920f590-db61-4445-838b-7e8de0eb17fe",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "28ac51bb-c68d-44a9-ac0d-bcb75042f299",
"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": "64884a72-ab90-46ec-8aa7-6323208fa6d8",
"CategoryId": "3a8bbf4b-5ded-4df5-ada2-d42e16f6aaa7",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "28d6e210-6304-46f5-b4ac-63fcb7e96ca1",
"Score": 1.0,
"State": 1
},
{
"Id": "28d6e210-6304-46f5-b4ac-63fcb7e96ca1",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "035abd9e-a6d7-44e6-a275-998955ad4523",
"Questions": [
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
},
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
}
]
},
{
"Id": "035abd9e-a6d7-44e6-a275-998955ad4523",
"Questions": [
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
},
{
"Id": "72dd00ed-4db5-4b8c-b2e0-c2b424805eb8",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "0a14e22f-0c18-4737-a49b-775d8c33a884",
"ContentItemId": "b007a089-95f0-4a9f-b292-d43a88a47556",
"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": "2026-10-01T12:43:42.9909513+00:00",
"RescheduleDate": "2026-10-01T12:43:42.9909513+00:00"
},
{
"Id": "0a14e22f-0c18-4737-a49b-775d8c33a884",
"ContentItemId": "b007a089-95f0-4a9f-b292-d43a88a47556",
"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": "2026-10-01T12:43:42.9909513+00:00",
"RescheduleDate": "2026-10-01T12:43:42.9909513+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}