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": "c728456c-7435-4b4c-8dec-f3dc53b67191",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-05-15T14:11:16.7231372+00:00",
"Registration": {
"Id": "22333711-ffa4-473e-9015-aee7e681c564",
"UserId": "d6400327-a807-468b-bc76-9bc2b051b8bc",
"IsCurrent": true,
"CenterId": "e70eaa86-f2e9-4595-8fe2-2bd8b11fe6e9",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2e695b11-6f02-4365-8655-d9c99348ab2e",
"EndDate": "2026-05-15T14:11:16.7075106+00:00",
"StartDate": "2026-05-15T14:11:16.7075106+00:00",
"SchedulePreferenceDate": "2026-05-15T14:11:16.7075106+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-05-15T14:11:16.7075106+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "1f06ee88-1eb6-42cd-b092-5a530e5b9e0d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "66426634-1caf-49fc-b23a-8430d396fb7e",
"Sequence": 1,
"AncestorCategoryId": "e29a6310-bc47-464c-9110-9c120b6f9793",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "1f06ee88-1eb6-42cd-b092-5a530e5b9e0d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "66426634-1caf-49fc-b23a-8430d396fb7e",
"Sequence": 1,
"AncestorCategoryId": "e29a6310-bc47-464c-9110-9c120b6f9793",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "2d2043e4-e4c1-471e-aa35-26e455d59fcd",
"CategoryId": "949a1b90-0524-40e2-8d28-334ddf4eb4da",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "ecd035ec-ad27-48d3-a638-404f3bbb61ae",
"Score": 1.0,
"State": 1
},
{
"Id": "ecd035ec-ad27-48d3-a638-404f3bbb61ae",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c7f49811-056d-4fa1-b023-ab20c54922b8",
"Questions": [
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
},
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
}
]
},
{
"Id": "c7f49811-056d-4fa1-b023-ab20c54922b8",
"Questions": [
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
},
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "1f09b574-84f9-4e6d-bf73-e19ada5fb1bd",
"ContentItemId": "bf1ff4fd-53be-4f5d-be20-eb8a5cce813c",
"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-05-15T14:11:16.7075106+00:00",
"RescheduleDate": "2026-05-15T14:11:16.7075106+00:00"
},
{
"Id": "1f09b574-84f9-4e6d-bf73-e19ada5fb1bd",
"ContentItemId": "bf1ff4fd-53be-4f5d-be20-eb8a5cce813c",
"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-05-15T14:11:16.7075106+00:00",
"RescheduleDate": "2026-05-15T14:11:16.7075106+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}
text/json
Sample:
{
"UserId": "c728456c-7435-4b4c-8dec-f3dc53b67191",
"IsNewUser": true,
"UserName": "sample string 3",
"PrivacyPolicyApprove": true,
"ServerTime": "2026-05-15T14:11:16.7700125+00:00",
"Registration": {
"Id": "22333711-ffa4-473e-9015-aee7e681c564",
"UserId": "d6400327-a807-468b-bc76-9bc2b051b8bc",
"IsCurrent": true,
"CenterId": "e70eaa86-f2e9-4595-8fe2-2bd8b11fe6e9",
"CenterZone": 5,
"ContractId": "sample string 6",
"CurrentContentItemId": "2e695b11-6f02-4365-8655-d9c99348ab2e",
"EndDate": "2026-05-15T14:11:16.7075106+00:00",
"StartDate": "2026-05-15T14:11:16.7075106+00:00",
"SchedulePreferenceDate": "2026-05-15T14:11:16.7075106+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-05-15T14:11:16.7075106+00:00"
},
"Bookmarks": {
"sample string 1": {
"Id": "1f06ee88-1eb6-42cd-b092-5a530e5b9e0d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "66426634-1caf-49fc-b23a-8430d396fb7e",
"Sequence": 1,
"AncestorCategoryId": "e29a6310-bc47-464c-9110-9c120b6f9793",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "1f06ee88-1eb6-42cd-b092-5a530e5b9e0d",
"Description": "sample string 2",
"Duration": 1,
"IsSkippable": true,
"Url": "sample string 3",
"CourseId": "66426634-1caf-49fc-b23a-8430d396fb7e",
"Sequence": 1,
"AncestorCategoryId": "e29a6310-bc47-464c-9110-9c120b6f9793",
"TypeId": 5,
"TypeName": "sample string 6",
"Hierarchy": [
{
"Id": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "d6db4366-808f-4e04-affc-633459dae4ff",
"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": "2d2043e4-e4c1-471e-aa35-26e455d59fcd",
"CategoryId": "949a1b90-0524-40e2-8d28-334ddf4eb4da",
"DisclaimerConfirmed": true
},
"Lessons": [
{
"Id": "ecd035ec-ad27-48d3-a638-404f3bbb61ae",
"Score": 1.0,
"State": 1
},
{
"Id": "ecd035ec-ad27-48d3-a638-404f3bbb61ae",
"Score": 1.0,
"State": 1
}
],
"Surveys": [
{
"Id": "c7f49811-056d-4fa1-b023-ab20c54922b8",
"Questions": [
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
},
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
}
]
},
{
"Id": "c7f49811-056d-4fa1-b023-ab20c54922b8",
"Questions": [
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
},
{
"Id": "b2365445-4963-473b-b75e-3dc8141aca59",
"Answers": "sample string 2"
}
]
}
],
"Sessions": [
{
"Id": "1f09b574-84f9-4e6d-bf73-e19ada5fb1bd",
"ContentItemId": "bf1ff4fd-53be-4f5d-be20-eb8a5cce813c",
"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-05-15T14:11:16.7075106+00:00",
"RescheduleDate": "2026-05-15T14:11:16.7075106+00:00"
},
{
"Id": "1f09b574-84f9-4e6d-bf73-e19ada5fb1bd",
"ContentItemId": "bf1ff4fd-53be-4f5d-be20-eb8a5cce813c",
"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-05-15T14:11:16.7075106+00:00",
"RescheduleDate": "2026-05-15T14:11:16.7075106+00:00"
}
],
"TotalRescheduleCount": 4,
"StudentLevelInfo": {
"StartLevel": "sample string 1",
"EndLevel": "sample string 2",
"CurrentLevel": "sample string 3"
}
}